Home
last modified time | relevance | path

Searched refs:AMatcher (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersTest.h93 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 DASTMatchersInternalTest.cpp154 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 DMatchVerifier.h37 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 DDeclMatcher.h32 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 DStructuralEquivalenceTest.cpp68 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 DASTImporterFixtures.h315 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 DRefactoringCallbacksTest.cpp22 const T &AMatcher, RefactoringCallback &Callback) { in expectRewritten() argument
25 Finder.addMatcher(traverse(TK_AsIs, AMatcher), &Callback); in expectRewritten()