/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchFinder.h | 149 void addMatcher(const DeclarationMatcher &NodeMatch, 151 void addMatcher(const TypeMatcher &NodeMatch, 153 void addMatcher(const StatementMatcher &NodeMatch, 155 void addMatcher(const NestedNameSpecifierMatcher &NodeMatch, 157 void addMatcher(const NestedNameSpecifierLocMatcher &NodeMatch, 159 void addMatcher(const TypeLocMatcher &NodeMatch, 280 Finder.addMatcher(Matcher, &Callback); in match()
|
/external/littlemock/src/com/google/testing/littlemock/ |
D | LittleMock.java | 277 public static <T> T anyObject() { return LittleMock.<T>addMatcher(new MatchAnything(), null); } 283 public static int anyInt() { return addMatcher(new MatchAnything(), 0); } 286 public static float anyFloat() { return addMatcher(new MatchAnything(), 0f); } 289 public static double anyDouble() { return addMatcher(new MatchAnything(), 0.0); } 292 public static boolean anyBoolean() { return addMatcher(new MatchAnything(), false); } 295 public static short anyShort() { return addMatcher(new MatchAnything(), (short) 0); } 298 public static char anyChar() { return addMatcher(new MatchAnything(), '\u0000'); } 301 public static long anyLong() { return addMatcher(new MatchAnything(), 0L); } 304 public static byte anyByte() { return addMatcher(new MatchAnything(), (byte) 0); } 308 return addMatcher(new ArgumentMatcher() { [all …]
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 908 void MatchFinder::addMatcher(const DeclarationMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder 914 void MatchFinder::addMatcher(const TypeMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder 920 void MatchFinder::addMatcher(const StatementMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder 926 void MatchFinder::addMatcher(const NestedNameSpecifierMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder 932 void MatchFinder::addMatcher(const NestedNameSpecifierLocMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder 938 void MatchFinder::addMatcher(const TypeLocMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder 947 addMatcher(NodeMatch.convertTo<Decl>(), Action); in addDynamicMatcher() 950 addMatcher(NodeMatch.convertTo<QualType>(), Action); in addDynamicMatcher() 953 addMatcher(NodeMatch.convertTo<Stmt>(), Action); in addDynamicMatcher() 956 addMatcher(NodeMatch.convertTo<NestedNameSpecifier>(), Action); in addDynamicMatcher() [all …]
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.h | 70 Finder.addMatcher(AMatcher, &VerifyFound); 170 Finder.addMatcher(AMatcher, &VerifyFound); in matchesConditionallyWithCuda() 224 Finder.addMatcher(AMatcher, &VerifyVerifiedResult); in matchAndVerifyResultConditionally()
|
D | ASTMatchersTest.cpp | 4780 Finder.addMatcher(decl(), &Callback); in TEST() 4802 Finder.addMatcher(decl(), &VerifyCallback); in TEST() 4828 Finder.addMatcher(decl(), &VerifyCallback); in TEST()
|
/external/clang/unittests/Tooling/ |
D | RefactoringCallbacksTest.cpp | 27 Finder.addMatcher(AMatcher, &Callback); in expectRewritten()
|
/external/clang/unittests/AST/ |
D | NamedDeclPrinterTest.cpp | 70 Finder.addMatcher(NodeMatch, &Printer); in PrintedNamedDeclMatches()
|
D | StmtPrinterTest.cpp | 75 Finder.addMatcher(NodeMatch, &Printer); in PrintedStmtMatches()
|
D | MatchVerifier.h | 91 Finder.addMatcher(AMatcher.bind(""), this); in match()
|
D | DeclPrinterTest.cpp | 76 Finder.addMatcher(NodeMatch, &Printer); in PrintedDeclMatches()
|
/external/clang/docs/ |
D | LibASTMatchersTutorial.rst | 299 Finder.addMatcher(LoopMatcher, &Printer);
|