reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
  399     classTemplateDecl;

References

tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  154   REGISTER_MATCHER(classTemplateDecl);
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  423       classTemplateDecl(unless(hasDescendant(cxxRecordDecl(isDefinition()))),
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp
  233                       classTemplateDecl(has(CXXRecords.bind("use"))))))))),
tools/clang/tools/extra/clang-move/Move.cpp
  505       classTemplateDecl(unless(has(cxxRecordDecl(isDefinition()))));
tools/clang/tools/extra/clang-tidy/abseil/UpgradeDurationConversionsCheck.cpp
  143       hasAncestor(decl(anyOf(classTemplateDecl(), functionTemplateDecl())));
tools/clang/tools/extra/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.cpp
   54       ofClass(cxxRecordDecl(unless(hasAncestor(classTemplateDecl())))),
   62       ofClass(cxxRecordDecl(hasAncestor(classTemplateDecl()))),
tools/clang/tools/extra/clang-tidy/google/UpgradeGoogletestCaseCheck.cpp
  237       hasAncestor(decl(anyOf(classTemplateDecl(), functionTemplateDecl())));
tools/clang/unittests/AST/ASTImporterGenericRedeclTest.cpp
   64     return classTemplateDecl(hasName("X"), unless(isImplicit()));
tools/clang/unittests/AST/ASTImporterODRStrategiesTest.cpp
  105     return classTemplateDecl(hasName("X"), unless(isImplicit()));
tools/clang/unittests/AST/ASTImporterTest.cpp
  604               classTemplateDecl(hasTemplateDecl(cxxRecordDecl(hasMethod(allOf(
  863       classTemplateDecl(has(cxxRecordDecl(has(
  938       classTemplateDecl(has(cxxRecordDecl(has(
 1110       classTemplateDecl(hasAncestor(translationUnitDecl(
 1124              recordDecl(has(classTemplateDecl()),
 1146       classTemplateDecl(has(cxxRecordDecl(
 1174       FirstDeclMatcher<ClassTemplateDecl>().match(FromTU, classTemplateDecl());
 1202       FirstDeclMatcher<ClassTemplateDecl>().match(FromTU, classTemplateDecl());
 1210       FirstDeclMatcher<ClassTemplateDecl>().match(ToTU, classTemplateDecl());
 1246                                                   classTemplateDecl(
 1250                                                   classTemplateDecl(
 1414   Pattern = translationUnitDecl(has(classTemplateDecl(
 1452   auto Pattern = namespaceDecl(has(classTemplateDecl(
 1553   auto Matcher = classTemplateDecl(has(cxxRecordDecl(has(cxxRecordDecl()))));
 1570   auto Pattern = translationUnitDecl(has(classTemplateDecl(
 1614   auto Pattern = translationUnitDecl(has(classTemplateDecl(
 1633         FromTU, classTemplateDecl(hasName("B")));
 1651         FromTU, classTemplateDecl(hasName("B")));
 1674                     .match(ToTU, classTemplateDecl()));
 1685       FromTU, classTemplateDecl(hasName("B")));
 1694                     .match(ToTU, classTemplateDecl()));
 2971              classTemplateDecl(has(
 3789       FirstDeclMatcher<ClassTemplateDecl>().match(FromTu, classTemplateDecl());
 3792   auto Pattern = classTemplateDecl(
 3793       has(cxxRecordDecl(has(friendDecl(has(classTemplateDecl()))))));
 3798       FirstDeclMatcher<ClassTemplateDecl>().match(ToD, classTemplateDecl());
 3849       FromTU0, classTemplateDecl(hasName("F")));
 3858       FromTU1, classTemplateDecl(hasName("F")));
 3888       ToTU, classTemplateDecl(hasName("F")));
 3896       FromTU, classTemplateDecl(hasName("F")));
 3918       FromTU0, classTemplateDecl(hasName("F")));
 3927       FromTU1, classTemplateDecl(hasName("F")));
 4192         FromTU, classTemplateDecl(hasName("B")));
 4211         FromTU, classTemplateDecl(hasName("B")));
 4302       ToTU, classTemplateDecl(hasName("X")));
 4563       ToTU, classTemplateDecl(hasName("F")));
 4586       ToTU, classTemplateDecl(hasName("F")));
 4608       ToTU, classTemplateDecl(hasName("F")));
 4650       ToTU, classTemplateDecl(hasName("X")));
 4653       fieldDecl(hasParent(cxxRecordDecl(hasParent(classTemplateDecl())))));
 5078           FromTU, classTemplateDecl(hasName("F"))));
 5327       ToTU, classTemplateDecl(hasName("Class")));
 5329       ToTU, classTemplateDecl(hasName("Class")));
 5338       FromTU, classTemplateDecl(hasName("Class")));
 5340       FromTU, classTemplateDecl(hasName("Class")));
tools/clang/unittests/AST/DeclPrinterTest.cpp
  969     classTemplateDecl(hasName("A")).bind("id"),
  977     classTemplateDecl(hasName("A")).bind("id"),
  985     classTemplateDecl(hasName("A")).bind("id"),
  993     classTemplateDecl(hasName("A")).bind("id"),
 1001     classTemplateDecl(hasName("A")).bind("id"),
 1009     classTemplateDecl(hasName("A")).bind("id"),
 1018     classTemplateDecl(hasName("A")).bind("id"),
 1025     classTemplateDecl(hasName("A")).bind("id"),
 1033     classTemplateDecl(hasName("A")).bind("id"),
 1041     classTemplateDecl(hasName("A")).bind("id"),
 1049     classTemplateDecl(hasName("A")).bind("id"),
tools/clang/unittests/AST/StructuralEquivalenceTest.cpp
  197       get<1>(Decls), classTemplateDecl(hasName("Base")));
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
  118   DeclarationMatcher ClassX = classTemplateDecl(hasName("X"));
  124   DeclarationMatcher ClassX = classTemplateDecl(hasName("X"));
  132                          classTemplateDecl(hasName("X"),
  139                          classTemplateDecl(hasName("X"),
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
 2641       hasSpecializedTemplate(classTemplateDecl()));