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

/external/clang/unittests/ASTMatchers/
H A DASTMatchersTraversalTest.cpp68 decl(hasDescendant(loc(builtinType())))));
70 stmt(hasDescendant(builtinType()))));
73 stmt(hasDescendant(loc(builtinType())))));
75 stmt(hasDescendant(qualType(builtinType())))));
78 stmt(hasDescendant(isInteger()))));
83 varDecl(hasDescendant(isInteger())).bind("x"))),
89 qualType(hasDescendant(builtinType()))));
91 qualType(hasDescendant(
94 typeLoc(hasDescendant(loc(builtinType())))));
137 hasDescendant(declRefExp
[all...]
H A DASTMatchersNarrowingTest.cpp194 hasDescendant(recordDecl(hasName("X"))),
209 hasDescendant(recordDecl(has(recordDecl(hasName("Y"))),
232 hasDescendant(recordDecl(hasDescendant(recordDecl(hasName("Y"))),
253 decl(hasDescendant(typeLoc().bind("x")), has(decl()));
263 decl(hasDescendant(VD), hasDescendant(RD))));
265 decl(hasDescendant(RD), hasDescendant(VD))));
268 decl(anyOf(hasDescendant(R
[all...]
H A DASTMatchersNodeTest.cpp134 hasDescendant(fieldDecl(hasName("a"))))));
141 hasDescendant(fieldDecl(hasName("a"))))));
493 hasDescendant(declRefExpr(to(
1197 // implicit code on certain platforms), likely when we have hasDescendant for
/external/clang/unittests/AST/
H A DASTImporterTest.cpp289 // NOTE: has() ignores implicit casts, using hasDescendant() to match it
313 hasDescendant(
H A DDeclPrinterTest.cpp1294 hasDescendant(namedDecl(hasName("printThis")))).bind("id"),
/external/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp222 REGISTER_MATCHER(hasDescendant);
/external/v8/tools/clang/rewrite_to_chrome_style/
H A DRewriteToChromeStyle.cpp608 // - Foo* foo() // |hasDescendant| traverses references/pointers.
609 // - RefPtr<Foo> foo() // |hasDescendant| traverses template arguments.
612 hasDescendant(type_with_same_name_as_function)));
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h790 /// isExpr(hasDescendant(declRefExpr(to(fieldDecl(hasName("next"))))))))
2270 /// (matcher = cxxRecordDecl(hasDescendant(cxxRecordDecl(hasName("X")))))
2281 LLVM_ATTRIBUTE_UNUSED hasDescendant = {}; member in namespace:clang::ast_matchers
2316 /// As opposed to 'hasDescendant', 'forEachDescendant' will cause a match for

Completed in 119 milliseconds