Home
last modified time | relevance | path

Searched refs:hasDescendant (Results 1 – 8 of 8) sorted by relevance

/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp68 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 …]
DASTMatchersNarrowingTest.cpp194 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 …]
DASTMatchersNodeTest.cpp134 hasDescendant(fieldDecl(hasName("a")))))); in TEST()
141 hasDescendant(fieldDecl(hasName("a")))))); in TEST()
493 hasDescendant(declRefExpr(to( in TEST()
/external/clang/unittests/AST/
DASTImporterTest.cpp313 hasDescendant( in TEST()
DDeclPrinterTest.cpp1294 hasDescendant(namedDecl(hasName("printThis")))).bind("id"), in TEST()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp222 REGISTER_MATCHER(hasDescendant); in RegistryMaps()
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp612 hasDescendant(type_with_same_name_as_function))); in GetNameForDecl()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2281 LLVM_ATTRIBUTE_UNUSED hasDescendant = {}; variable