Home | History | Annotate | Download | only in ASTMatchers

Lines Matching refs:isTemplateInstantiation

3817 TEST(IsTemplateInstantiation, MatchesImplicitClassTemplateInstantiation) {
3823 cxxRecordDecl(hasName("::X"), isTemplateInstantiation())));
3827 cxxRecordDecl(isTemplateInstantiation(), hasDescendant(
3831 TEST(IsTemplateInstantiation, MatchesImplicitFunctionTemplateInstantiation) {
3835 isTemplateInstantiation())));
3838 TEST(IsTemplateInstantiation, MatchesExplicitClassTemplateInstantiation) {
3842 cxxRecordDecl(isTemplateInstantiation(), hasDescendant(
3846 TEST(IsTemplateInstantiation,
3851 cxxRecordDecl(hasName("::X"), isTemplateInstantiation())));
3854 TEST(IsTemplateInstantiation,
3862 cxxRecordDecl(hasName("::X::Y"), isTemplateInstantiation())));
3865 TEST(IsTemplateInstantiation, DoesNotMatchInstantiationsInsideOfInstantiation) {
3875 cxxRecordDecl(hasName("::X<A>::Y"), unless(isTemplateInstantiation()))));
3878 TEST(IsTemplateInstantiation, DoesNotMatchExplicitClassTemplateSpecialization) {
3882 cxxRecordDecl(hasName("::X"), isTemplateInstantiation())));
3885 TEST(IsTemplateInstantiation, DoesNotMatchNonTemplate) {
3888 cxxRecordDecl(isTemplateInstantiation())));
4090 hasAncestor(cxxRecordDecl(isTemplateInstantiation())),
4091 hasAncestor(cxxRecordDecl(unless(isTemplateInstantiation())))))));
4101 hasParent(cxxRecordDecl(isTemplateInstantiation())))))))));
4108 cxxRecordDecl(unless(isTemplateInstantiation()))))))))));
4115 cxxRecordDecl(isTemplateInstantiation())))),
4117 unless(isTemplateInstantiation())))))))))));