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

References

tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  451   REGISTER_MATCHER(ofClass);
tools/clang/lib/Analysis/ExprMutationAnalyzer.cpp
  249                           callee(cxxMethodDecl(ofClass(isMoveOnly()),
  357                         callee(cxxMethodDecl(ofClass(isMoveOnly()),
tools/clang/tools/extra/clang-tidy/abseil/UpgradeDurationConversionsCheck.cpp
   52               ofClass(cxxRecordDecl(hasName("::absl::Duration"))),
tools/clang/tools/extra/clang-tidy/bugprone/DanglingHandleCheck.cpp
   28       anyOf(cxxConstructExpr(hasDeclaration(cxxMethodDecl(ofClass(IsAHandle))),
   85           cxxOperatorCallExpr(callee(cxxMethodDecl(ofClass(isAMap()))),
  130       cxxOperatorCallExpr(callee(cxxMethodDecl(ofClass(IsAHandle))),
tools/clang/tools/extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.cpp
   27           callee(cxxMethodDecl(ofClass(classTemplateSpecializationDecl(
tools/clang/tools/extra/clang-tidy/bugprone/UndelegatedConstructorCheck.cpp
   65               cxxConstructorDecl(ofClass(cxxRecordDecl().bind("parent")))),
   67               cxxConstructExpr(hasDeclaration(cxxConstructorDecl(ofClass(
tools/clang/tools/extra/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.cpp
   54       ofClass(cxxRecordDecl(unless(hasAncestor(classTemplateDecl())))),
   56           isCopyConstructor(), ofClass(equalsBoundNode("class")))))));
   62       ofClass(cxxRecordDecl(hasAncestor(classTemplateDecl()))),
   74           hasName("operator="), ofClass(equalsBoundNode("class"))))))));
   89     AdditionalMatcher = cxxMethodDecl(ofClass(cxxRecordDecl(
   94   Finder->addMatcher(cxxMethodDecl(ofClass(cxxRecordDecl().bind("class")),
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/SlicingCheck.cpp
   38   const auto OfBaseClass = ofClass(cxxRecordDecl().bind("BaseDecl"));
   46       hasParent(cxxConstructorDecl(ofClass(equalsBoundNode("DerivedDecl"))));
tools/clang/tools/extra/clang-tidy/google/UpgradeGoogletestCaseCheck.cpp
  147                   ofClass(
  154                   ofClass(
  161                   ofClass(cxxRecordDecl(
  170                   ofClass(cxxRecordDecl(
tools/clang/tools/extra/clang-tidy/misc/UnconventionalAssignOperatorCheck.cpp
   35                     hasName("operator="), ofClass(recordDecl().bind("class")))
tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp
   30                             ofClass(cxxRecordDecl(hasName("::std::unique_ptr"),
   37                   ofClass(cxxRecordDecl(hasName("::std::unique_ptr"),
tools/clang/tools/extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp
  127                           callee(cxxMethodDecl(ofClass(AutoPtrDecl))),
tools/clang/tools/extra/clang-tidy/modernize/UseEmplaceCheck.cpp
   63   auto IsCtorOfSmartPtr = hasDeclaration(cxxConstructorDecl(ofClass(hasAnyName(
  108       hasDeclaration(cxxConstructorDecl(ofClass(hasAnyName(
tools/clang/tools/extra/clang-tidy/modernize/UseTransparentFunctorsCheck.cpp
   64                                           ofClass(TransparentFunctors))),
tools/clang/tools/extra/clang-tidy/readability/AvoidConstParamsInDecls.cpp
   42                    unless(cxxMethodDecl(ofClass(cxxRecordDecl(anyOf(
tools/clang/tools/extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
   66                             ofClass(equalsBoundNode("container"))))))
   98               cxxMethodDecl(ofClass(equalsBoundNode("container"))))))
tools/clang/tools/extra/clang-tidy/readability/ConvertMemberFunctionsToStatic.cpp
   83               ofClass(anyOf(
tools/clang/tools/extra/clang-tidy/readability/FunctionSizeCheck.cpp
  150                                   unless(cxxMethodDecl(ofClass(isLambda()))))
tools/clang/tools/extra/clang-tidy/readability/RedundantMemberInitCheck.cpp
   36           ofClass(unless(
tools/clang/tools/extra/clang-tidy/readability/StringCompareCheck.cpp
   31                            ofClass(classTemplateSpecializationDecl(
tools/clang/unittests/AST/DeclPrinterTest.cpp
  499     cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
  508     cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
  517     cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
  526     cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
  536     cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
  546     cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
  556     cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
  565     cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
  574     cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
  583     cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
  592     cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
  602     cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
  612     cxxConstructorDecl(ofClass(hasName("A"))).bind("id"),
  621     cxxDestructorDecl(ofClass(hasName("A"))).bind("id"),
  630     cxxDestructorDecl(ofClass(hasName("A"))).bind("id"),
  639     cxxMethodDecl(ofClass(hasName("A"))).bind("id"),
  648     cxxMethodDecl(ofClass(hasName("A"))).bind("id"),
  658     cxxMethodDecl(ofClass(hasName("A"))).bind("id"),
  668     cxxMethodDecl(ofClass(hasName("Z"))).bind("id"),
  678     cxxMethodDecl(ofClass(hasName("Z"))).bind("id"),
  687     cxxMethodDecl(ofClass(hasName("Z"))).bind("id"),
  697     cxxMethodDecl(ofClass(hasName("Z"))).bind("id"),
  706     cxxMethodDecl(ofClass(hasName("Z"))).bind("id"),
  733       cxxMethodDecl(ofClass(hasName("Z"))).bind("id"),
  756       cxxMethodDecl(ofClass(hasName("Z"))).bind("id"),
tools/clang/unittests/AST/SourceLocationTest.cpp
  526       Code, friendDecl(has(cxxConstructorDecl(ofClass(hasName("B")))))));
  530       Code, friendDecl(has(cxxDestructorDecl(ofClass(hasName("B")))))));
  544       Code, friendDecl(has(cxxConstructorDecl(ofClass(hasName("B")))))));
  548       Code, friendDecl(has(cxxDestructorDecl(ofClass(hasName("B")))))));
tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
  682   const auto IsLambda = cxxMethodDecl(ofClass(cxxRecordDecl(isLambda())));
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
 1103                                            ofClass(hasName("A")))))));
 1107                                            ofClass(hasName("A")))))));
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
  989                       cxxConstructorDecl(ofClass(hasName("Foo")))));
  991                          cxxConstructorDecl(ofClass(hasName("Bar")))));
  996                       cxxDestructorDecl(ofClass(hasName("Foo")))));
 1001                          cxxDestructorDecl(ofClass(hasName("Foo")))));
 1302     ofClass(hasName("X")))));
 1424     cxxMethodDecl(ofClass(hasName("X"))), true, "-std=gnu++98"));
 1427                       cxxMethodDecl(ofClass(hasName("X")))));
 1433     cxxMethodDecl(ofClass(hasName("X"))), true, "-std=gnu++98"));
 2562     return cxxMethodDecl(ofClass(hasName(ClassName)), isVirtual(),