| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersTest.h | 93 Finder.addMatcher(AMatcher, &VerifyFound); 159 matches(const Twine &Code, const T &AMatcher, 166 notMatches(const Twine &Code, const T &AMatcher, 188 return matchesObjC(Code, AMatcher, false); in notMatchesObjC() 220 Finder.addMatcher(AMatcher, &VerifyFound); in matchesConditionallyWithCuda() 276 return matchesConditionally(Code, AMatcher, true, in matchesWithOpenMP51() 283 return matchesConditionally(Code, AMatcher, false, in notMatchesWithOpenMP51() 289 const Twine &Code, const T &AMatcher, in matchAndVerifyResultConditionally() argument 295 Finder.addMatcher(AMatcher, &VerifyVerifiedResult); in matchAndVerifyResultConditionally() 337 const Twine &Code, const T &AMatcher, in matchAndVerifyResultTrue() argument [all …]
|
| H A D | ASTMatchersInternalTest.cpp | 154 AST_MATCHER_P(Decl, just, internal::Matcher<Decl>, AMatcher) { in AST_MATCHER_P() argument 157 return AMatcher.matches(Node, Finder, Builder); in AST_MATCHER_P() 175 internal::Matcher<Decl>, AMatcher) { in AST_POLYMORPHIC_MATCHER_P() argument 177 Node, AMatcher, Builder, in AST_POLYMORPHIC_MATCHER_P()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | MatchVerifier.h | 37 const MatcherType &AMatcher) { in match() argument 39 return match(Code, AMatcher, Args, Lang_CXX03); in match() 44 const MatcherType &AMatcher, TestLanguage L) { in match() argument 46 return match(Code, AMatcher, Args, L); in match() 51 match(const std::string &Code, const MatcherType &AMatcher, 55 testing::AssertionResult match(const Decl *D, const MatcherType &AMatcher); 82 const MatcherType &AMatcher, in match() argument 85 Finder.addMatcher(AMatcher.bind(""), this); in match() 145 const Decl *D, const MatcherType &AMatcher) { in match() argument 147 Finder.addMatcher(AMatcher.bind(""), this); in match()
|
| H A D | DeclMatcher.h | 32 NodeType *match(const Decl *D, const MatcherType &AMatcher) { in match() argument 34 Finder.addMatcher(AMatcher.bind(""), this); in match() 64 unsigned match(const Decl *D, const MatcherType &AMatcher) { in match() argument 66 Finder.addMatcher(AMatcher.bind(""), this); in match()
|
| H A D | StructuralEquivalenceTest.cpp | 68 TestLanguage Lang, const MatcherType &AMatcher) { in makeDecls() 70 SrcCode0, SrcCode1, Lang, AMatcher, AMatcher); in makeDecls() 117 TestLanguage Lang, const MatcherType &AMatcher) { in makeStmts() 118 return makeStmts(SrcCode0, SrcCode1, Lang, AMatcher, AMatcher); in makeStmts() 126 TestLanguage Lang, const MatcherType &AMatcher) { in makeWrappedStmts() 130 return makeStmts(Wrap(SrcCode0), Wrap(SrcCode1), Lang, AMatcher); in makeWrappedStmts()
|
| H A D | ASTImporterFixtures.h | 315 const MatcherType &AMatcher) { in testImport() argument 319 testImport(FromCode, FromArgs, ToCode, ToArgs, Verifier, AMatcher)); in testImport()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | RefactoringCallbacksTest.cpp | 22 const T &AMatcher, RefactoringCallback &Callback) { in expectRewritten() argument 25 Finder.addMatcher(traverse(TK_AsIs, AMatcher), &Callback); in expectRewritten()
|