Home
last modified time | relevance | path

Searched refs:hasAncestor (Results 1 – 24 of 24) sorted by relevance

/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp1496 functionDecl(decl().bind("x"), hasAncestor(recordDecl(hasName("::A")))), in TEST()
1503 ifStmt(stmt().bind("x"), hasAncestor(recordDecl(hasName("::A")))), in TEST()
1558 recordDecl(hasName("C"), hasAncestor(recordDecl(hasName("A")))))); in TEST()
1564 recordDecl(hasName("C"), hasAncestor(recordDecl(hasName("X")))))); in TEST()
1571 hasAncestor(recordDecl(hasName("A")))))))); in TEST()
1577 integerLiteral(equals(42), hasAncestor(ifStmt())))); in TEST()
1583 integerLiteral(equals(42), hasAncestor(functionDecl(hasName("f")))))); in TEST()
1589 fieldDecl(hasAncestor(recordDecl(hasAncestor(recordDecl().bind("r"))))), in TEST()
1596 fieldDecl(hasAncestor( in TEST()
1599 hasAncestor(recordDecl()))) in TEST()
[all …]
DASTMatchersNarrowingTest.cpp277 forEach(fieldDecl(hasAncestor(forStmt())))); in TEST()
1902 unless(hasAncestor(stmt(hasDescendant(cxxMemberCallExpr( in TEST()
1918 unless(hasAncestor(stmt(hasDescendant(cxxMemberCallExpr( in TEST()
/external/clang/unittests/AST/
DASTContextParentMapTest.cpp77 hasAncestor(cxxRecordDecl(isTemplateInstantiation())), in TEST()
78 hasAncestor(cxxRecordDecl(unless(isTemplateInstantiation()))))))); in TEST()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTree.java58 public boolean hasAncestor(int ttype); in hasAncestor() method
DBaseTree.java313 public boolean hasAncestor(int ttype) { return getAncestor(ttype)!=null; } in hasAncestor() method in BaseTree
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRTree.h47 - (BOOL) hasAncestor:(NSInteger)ttype;
DANTLRBaseTree.h151 - (BOOL) hasAncestor:(NSInteger) ttype;
DANTLRBaseTree.m411 - (BOOL) hasAncestor:(NSInteger) ttype
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRTree.h41 - (BOOL) hasAncestor:(NSInteger)ttype;
DANTLRBaseTree.h147 - (BOOL) hasAncestor:(NSInteger) ttype;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRTree.h41 - (BOOL) hasAncestor:(NSInteger)ttype;
DANTLRBaseTree.h147 - (BOOL) hasAncestor:(NSInteger) ttype;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRTree.h41 - (BOOL) hasAncestor:(NSInteger)ttype;
DANTLRBaseTree.h147 - (BOOL) hasAncestor:(NSInteger) ttype;
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp1300 decl(hasAncestor(blink_namespace_decl), in main()
1301 unless(hasAncestor(protocol_namespace_decl))); in main()
1313 hasAncestor(decl_has_qualifier_to_blink_namespace)), in main()
1329 unless(hasAncestor(recordDecl( in main()
1361 unless(hasAncestor(functionDecl(isDefaulted()))))); in main()
1419 unless(hasAncestor(substNonTypeTemplateParmExpr())))); in main()
1462 unless(hasAncestor(substNonTypeTemplateParmExpr())))); in main()
/external/v8/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp301 returnStmt(hasAncestor(id("fn", functionDecl(returns(pointerType())))))); in main()
355 unless(hasAncestor(decl(anyOf(is_logging_helper, is_gtest_helper, in main()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DTree.as25 function hasAncestor(ttype:int):Boolean;
DBaseTree.as266 public function hasAncestor(ttype:int):Boolean { return getAncestor(ttype)!=null; }
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DStrip.java154 if ( !a.hasAncestor(ANTLRv3Parser.OPTIONS) ) { // avoid options in rewrite()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2384 LLVM_ATTRIBUTE_UNUSED hasAncestor = {}; variable
4298 return decl(anyOf(IsInstantiation, hasAncestor(IsInstantiation))); in AST_MATCHER_FUNCTION()
4317 hasAncestor(decl(anyOf(cxxRecordDecl(isTemplateInstantiation()), in AST_MATCHER_FUNCTION()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp198 REGISTER_MATCHER(hasAncestor); in RegistryMaps()
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dtree.py133 def hasAncestor(self, ttype): member in Tree
889 def hasAncestor(self, ttype): member in BaseTree
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/tree/
DANTLRCommonTreeTest.m334 …STAssertTrue([tree hasAncestor:ANTLRTokenTypeUP], @"Should have an ancestor of type ANTLRTokenType…
/external/antlr/antlr-3.4/tool/
DCHANGES.txt519 public boolean hasAncestor(int ttype);