Home | History | Annotate | Download | only in ASTMatchers

Lines Matching refs:isTemplateInstantiation

3387 TEST(IsTemplateInstantiation, MatchesImplicitClassTemplateInstantiation) {
3393 recordDecl(hasName("::X"), isTemplateInstantiation())));
3397 recordDecl(isTemplateInstantiation(), hasDescendant(
3401 TEST(IsTemplateInstantiation, MatchesImplicitFunctionTemplateInstantiation) {
3405 isTemplateInstantiation())));
3408 TEST(IsTemplateInstantiation, MatchesExplicitClassTemplateInstantiation) {
3412 recordDecl(isTemplateInstantiation(), hasDescendant(
3416 TEST(IsTemplateInstantiation,
3421 recordDecl(hasName("::X"), isTemplateInstantiation())));
3424 TEST(IsTemplateInstantiation,
3432 recordDecl(hasName("::X::Y"), isTemplateInstantiation())));
3435 TEST(IsTemplateInstantiation, DoesNotMatchInstantiationsInsideOfInstantiation) {
3445 recordDecl(hasName("::X<A>::Y"), unless(isTemplateInstantiation()))));
3448 TEST(IsTemplateInstantiation, DoesNotMatchExplicitClassTemplateSpecialization) {
3452 recordDecl(hasName("::X"), isTemplateInstantiation())));
3455 TEST(IsTemplateInstantiation, DoesNotMatchNonTemplate) {
3458 recordDecl(isTemplateInstantiation())));
3603 allOf(hasAncestor(recordDecl(isTemplateInstantiation())),
3604 hasAncestor(recordDecl(unless(isTemplateInstantiation())))))));
3614 hasParent(recordDecl(isTemplateInstantiation())))))))));
3621 hasParent(recordDecl(unless(isTemplateInstantiation()))))))))));
3628 hasParent(recordDecl(isTemplateInstantiation())))),
3630 unless(isTemplateInstantiation())))))))))));