| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | UpgradeGoogletestCaseCheck.cpp | 146 hasMethod(hasName("SetUpTestSuite"))))) in registerMatchers() 153 hasMethod(hasName("test_suite_name"))))) in registerMatchers() 160 hasMethod(hasName("OnTestSuiteStart"))))) in registerMatchers() 169 hasMethod(hasName("current_test_suite"))))) in registerMatchers() 250 hasMethod(cxxMethodDecl(hasName(ReplacementMethod)))), in derivedTypeHasReplacementMethod()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 120 hasMethod(cxxConstructorDecl(isMoveConstructor(), unless(isDeleted()))), in __anondd380f730602() 121 hasMethod(cxxMethodDecl(isMoveAssignmentOperator(), unless(isDeleted()))), in __anondd380f730602() 122 unless(anyOf(hasMethod(cxxConstructorDecl(isCopyConstructor(), in __anondd380f730602() 124 hasMethod(cxxMethodDecl(isCopyAssignmentOperator(), in __anondd380f730602() 481 anyOf(allOf(hasMethod(allOf(hasName("begin"), unless(isConst()))), in findRangeLoopMutation() 482 unless(hasMethod(allOf(hasName("begin"), isConst())))), in findRangeLoopMutation() 483 allOf(hasMethod(allOf(hasName("end"), unless(isConst()))), in findRangeLoopMutation() 484 unless(hasMethod(allOf(hasName("end"), isConst()))))); in findRangeLoopMutation()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersInternalTest.cpp | 125 cxxRecordDecl(hasMethod(cxxMethodDecl(hasName("operator+")).bind("Op+"))) 133 cxxRecordDecl(hasMethod(cxxConstructorDecl(isDefaulted()).bind("Ctor")), 134 hasMethod(cxxDestructorDecl(isDefaulted()).bind("Dtor"))),
|
| H A D | ASTMatchersTraversalTest.cpp | 23 TEST(DeclarationMatcher, hasMethod) { in TEST() argument 25 cxxRecordDecl(hasMethod(hasName("func"))))); in TEST() 27 cxxRecordDecl(hasMethod(isPublic())))); in TEST() 2993 hasMethod(cxxConstructorDecl(isCopyConstructor()))); in TEST() 2998 hasMethod(cxxMethodDecl(isCopyAssignmentOperator()))); in TEST() 3003 hasMethod(cxxConstructorDecl(isDefaultConstructor()))); in TEST() 3008 hasMethod(cxxDestructorDecl())); in TEST() 5087 cxxRecordDecl(decl().bind("x"), hasMethod(hasName("g"))), in TEST()
|
| H A D | ASTMatchersNarrowingTest.cpp | 1384 cxxRecordDecl(hasMethod(hasOverloadedOperatorName("*"))); in TEST_P()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SizeofContainerCheck.cpp | 26 hasMethod(cxxMethodDecl(hasName("size"), isPublic(), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseEqualsDeleteCheck.cpp | 43 hasParent(cxxRecordDecl(hasMethod(unless( in registerMatchers()
|
| H A D | LoopConvertCheck.cpp | 185 recordType(hasDeclaration(cxxRecordDecl(hasMethod(cxxMethodDecl( in makeIteratorLoopMatcher() 258 hasMethod(cxxMethodDecl(hasName("begin"), isConst())), in makePseudoArrayLoopMatcher() 259 hasMethod(cxxMethodDecl(hasName("end"), in makePseudoArrayLoopMatcher() 264 cxxRecordDecl(hasMethod(hasName("begin")), in makePseudoArrayLoopMatcher() 265 hasMethod(hasName("end"))))))) // qualType in makePseudoArrayLoopMatcher()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | NoAutomaticMoveCheck.cpp | 42 ofClass(cxxRecordDecl(hasMethod(cxxConstructorDecl( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | NonPrivateMemberVariablesInClassesCheck.cpp | 26 return hasMethod(unless(anyOf(isStaticStorageClass(), isImplicit()))) in AST_MATCHER()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | NonTrivialTypesLibcMemoryCallsCheck.cpp | 104 ArgChecker(hasMethod(hasAnyName(ComparisonOperators)), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | RedundantSmartptrGetCheck.cpp | 39 hasMethod(cxxMethodDecl( in callToGet()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IvarInvalidationChecker.cpp | 80 bool hasMethod(const ObjCMethodDecl *MD) { in hasMethod() function 584 if (!InvalidationMethod || I->second.hasMethod(InvalidationMethod)) in markInvalidated()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 330 REGISTER_MATCHER(hasMethod); in RegistryMaps()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 3355 AST_MATCHER_P(CXXRecordDecl, hasMethod, internal::Matcher<CXXMethodDecl>, in AST_MATCHER_P() argument
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 385 cxxRecordDecl(hasMethod(hasDescendant( in TEST_P() 425 classTemplateDecl(hasTemplateDecl(cxxRecordDecl(hasMethod(allOf( in TEST_P()
|