Home
last modified time | relevance | path

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

/external/clang/unittests/ASTMatchers/
DASTMatchersTest.h63 const std::string &Code, const T &AMatcher, bool ExpectMatch,
70 Finder.addMatcher(AMatcher, &VerifyFound);
72 if (!Finder.addDynamicMatcher(AMatcher, &VerifyDynamicFound))
103 testing::AssertionResult matches(const std::string &Code, const T &AMatcher) { in matches() argument
104 return matchesConditionally(Code, AMatcher, true, "-std=c++11"); in matches()
109 const T &AMatcher) { in notMatches() argument
110 return matchesConditionally(Code, AMatcher, false, "-std=c++11"); in notMatches()
115 const T &AMatcher) { in matchesObjC() argument
117 Code, AMatcher, true, in matchesObjC()
123 const T &AMatcher) { in notMatchesObjC() argument
[all …]
DASTMatchersTest.cpp2525 AST_MATCHER_P(Decl, just, internal::Matcher<Decl>, AMatcher) { in AST_MATCHER_P() argument
2528 return AMatcher.matches(Node, Finder, Builder); in AST_MATCHER_P()
2546 internal::Matcher<Decl>, AMatcher) { in AST_POLYMORPHIC_MATCHER_P() argument
2548 Node, AMatcher, Builder, in AST_POLYMORPHIC_MATCHER_P()
/external/clang/unittests/AST/
DMatchVerifier.h46 const MatcherType &AMatcher) { in match() argument
48 return match(Code, AMatcher, Args, Lang_CXX); in match()
53 const MatcherType &AMatcher, in match() argument
56 return match(Code, AMatcher, Args, L); in match()
61 const MatcherType &AMatcher,
88 const std::string &Code, const MatcherType &AMatcher, in match() argument
91 Finder.addMatcher(AMatcher.bind(""), this); in match()
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp24 const T &AMatcher, in expectRewritten() argument
27 Finder.addMatcher(AMatcher, &Callback); in expectRewritten()