Home
last modified time | relevance | path

Searched refs:hasMethod (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DUpgradeGoogletestCaseCheck.cpp146 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 DExprMutationAnalyzer.cpp120 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 DASTMatchersInternalTest.cpp125 cxxRecordDecl(hasMethod(cxxMethodDecl(hasName("operator+")).bind("Op+")))
133 cxxRecordDecl(hasMethod(cxxConstructorDecl(isDefaulted()).bind("Ctor")),
134 hasMethod(cxxDestructorDecl(isDefaulted()).bind("Dtor"))),
H A DASTMatchersTraversalTest.cpp23 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 DASTMatchersNarrowingTest.cpp1384 cxxRecordDecl(hasMethod(hasOverloadedOperatorName("*"))); in TEST_P()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DSizeofContainerCheck.cpp26 hasMethod(cxxMethodDecl(hasName("size"), isPublic(), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseEqualsDeleteCheck.cpp43 hasParent(cxxRecordDecl(hasMethod(unless( in registerMatchers()
H A DLoopConvertCheck.cpp185 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 DNoAutomaticMoveCheck.cpp42 ofClass(cxxRecordDecl(hasMethod(cxxConstructorDecl( in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DNonPrivateMemberVariablesInClassesCheck.cpp26 return hasMethod(unless(anyOf(isStaticStorageClass(), isImplicit()))) in AST_MATCHER()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/
H A DNonTrivialTypesLibcMemoryCallsCheck.cpp104 ArgChecker(hasMethod(hasAnyName(ComparisonOperators)), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DRedundantSmartptrGetCheck.cpp39 hasMethod(cxxMethodDecl( in callToGet()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp80 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 DRegistry.cpp330 REGISTER_MATCHER(hasMethod); in RegistryMaps()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3355 AST_MATCHER_P(CXXRecordDecl, hasMethod, internal::Matcher<CXXMethodDecl>, in AST_MATCHER_P() argument
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp385 cxxRecordDecl(hasMethod(hasDescendant( in TEST_P()
425 classTemplateDecl(hasTemplateDecl(cxxRecordDecl(hasMethod(allOf( in TEST_P()