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/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTree.java58 public boolean hasAncestor(int ttype); in hasAncestor() method
DBaseTree.java333 public boolean hasAncestor(int ttype) { return getAncestor(ttype)!=null; } in hasAncestor() method in BaseTree
/external/antlr/runtime/ObjC/Framework/
DTree.h47 - (BOOL) hasAncestor:(NSInteger)ttype;
DBaseTree.h151 - (BOOL) hasAncestor:(NSInteger) ttype;
DBaseTree.m416 - (BOOL) hasAncestor:(NSInteger) ttype
/external/cldr/tools/java/org/unicode/cldr/tool/
DDiffCldr.java91 if (hasAncestor(locale, localeBase)) { in main()
179 private static boolean hasAncestor(String locale, String localeBase) { in hasAncestor() method in DiffCldr
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp1547 decl(hasAncestor(blink_namespace_decl), in main()
1548 unless(hasAncestor(protocol_namespace_decl))); in main()
1560 hasAncestor(decl_has_qualifier_to_blink_namespace)), in main()
1576 unless(hasAncestor(recordDecl( in main()
1611 unless(hasAncestor(functionDecl(isDefaulted()))))); in main()
1674 unless(hasAncestor(substNonTypeTemplateParmExpr())))); in main()
1719 unless(hasAncestor(substNonTypeTemplateParmExpr())))); in main()
/external/v8/tools/clang/base_bind_rewriters/
DBaseBindRewriters.cpp251 anyOf(hasAncestor(cxxConstructorDecl().bind("enclosing_ctor")), in GetMatcher()
252 hasAncestor(functionDecl().bind("enclosing_func")), in GetMatcher()
253 hasAncestor(lambdaExpr().bind("enclosing_lambda")))) in GetMatcher()
/external/v8/tools/clang/traffic_annotation_extractor/
Dtraffic_annotation_extractor.cpp295 anyOf(hasAncestor(functionDecl().bind("function_context")), in RunMatchers()
296 unless(hasAncestor(functionDecl()))); in RunMatchers()
/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/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/tool/src/main/java/org/antlr/tool/
DStrip.java163 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/runtime/Python/antlr3/
Dtree.py133 def hasAncestor(self, ttype): member in Tree
889 def hasAncestor(self, ttype): member in BaseTree
/external/antlr/runtime/Python3/antlr3/
Dtree.py133 def hasAncestor(self, ttype): member in Tree
882 def hasAncestor(self, ttype): member in BaseTree
/external/antlr/runtime/ObjC/Framework/test/runtime/tree/
DCommonTreeTest.m334 STAssertTrue([tree hasAncestor:TokenTypeUP], @"Should have an ancestor of type TokenTypeUP");
/external/antlr/tool/
DCHANGES.txt590 public boolean hasAncestor(int ttype);
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.core.resources_3.13.0.v20180512-1138.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...