Searched refs:hasDescendant (Results 1 – 8 of 8) sorted by relevance
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 68 decl(hasDescendant(loc(builtinType()))))); in TEST() 70 stmt(hasDescendant(builtinType())))); in TEST() 73 stmt(hasDescendant(loc(builtinType()))))); in TEST() 75 stmt(hasDescendant(qualType(builtinType()))))); in TEST() 78 stmt(hasDescendant(isInteger())))); in TEST() 83 varDecl(hasDescendant(isInteger())).bind("x"))), in TEST() 89 qualType(hasDescendant(builtinType())))); in TEST() 91 qualType(hasDescendant( in TEST() 94 typeLoc(hasDescendant(loc(builtinType()))))); in TEST() 137 hasDescendant(declRefExpr(to(varDecl(hasName("i")))))); in TEST() [all …]
|
D | ASTMatchersNarrowingTest.cpp | 194 hasDescendant(recordDecl(hasName("X"))), in TEST() 209 hasDescendant(recordDecl(has(recordDecl(hasName("Y"))), in TEST() 232 hasDescendant(recordDecl(hasDescendant(recordDecl(hasName("Y"))), in TEST() 253 decl(hasDescendant(typeLoc().bind("x")), has(decl())); in TEST() 263 decl(hasDescendant(VD), hasDescendant(RD)))); in TEST() 265 decl(hasDescendant(RD), hasDescendant(VD)))); in TEST() 268 decl(anyOf(hasDescendant(RD), hasDescendant(VD))))); in TEST() 323 cxxCatchStmt(anyOf(hasDescendant(varDecl()), isCatchAll())))); in TEST() 594 recordDecl(hasName("A"), hasDescendant(ClassX)), in TEST() 595 recordDecl(hasName("B"), hasDescendant(ClassX)))), in TEST() [all …]
|
D | ASTMatchersNodeTest.cpp | 134 hasDescendant(fieldDecl(hasName("a")))))); in TEST() 141 hasDescendant(fieldDecl(hasName("a")))))); in TEST() 493 hasDescendant(declRefExpr(to( in TEST()
|
/external/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 313 hasDescendant( in TEST()
|
D | DeclPrinterTest.cpp | 1294 hasDescendant(namedDecl(hasName("printThis")))).bind("id"), in TEST()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 222 REGISTER_MATCHER(hasDescendant); in RegistryMaps()
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
D | RewriteToChromeStyle.cpp | 612 hasDescendant(type_with_same_name_as_function))); in GetNameForDecl()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2281 LLVM_ATTRIBUTE_UNUSED hasDescendant = {}; variable
|