Searched refs:fieldDecl (Results 1 – 9 of 9) sorted by relevance
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 277 forEach(fieldDecl(hasAncestor(forStmt())))); in TEST() 607 fieldDecl(hasType(asString("ns::A"))))); in TEST() 609 fieldDecl(hasType(asString("struct (anonymous namespace)::A"))))); in TEST() 1254 EXPECT_TRUE(matches(code, fieldDecl(hasName("m")))); in TEST() 1255 EXPECT_TRUE(matches(code, fieldDecl(hasName("S::m")))); in TEST() 1256 EXPECT_TRUE(matches(code, fieldDecl(hasName("F(int)::S::m")))); in TEST() 1257 EXPECT_TRUE(matches(code, fieldDecl(hasName("a::F(int)::S::m")))); in TEST() 1258 EXPECT_TRUE(matches(code, fieldDecl(hasName("::a::F(int)::S::m")))); in TEST() 1375 memberExpr(hasDeclaration(fieldDecl(hasType(isInteger())))))); in TEST() 1378 memberExpr(hasDeclaration(fieldDecl(hasType(isInteger())))))); in TEST() [all …]
|
D | ASTMatchersTraversalTest.cpp | 552 refersToDeclaration(fieldDecl(hasName("next"))))))); in TEST() 565 hasDescendant(declRefExpr(to(fieldDecl(hasName("next")))))))))); in TEST() 1346 … recordDecl(hasName("C"), forEach(fieldDecl(hasName("x")).bind("x"))), in TEST() 1352 recordDecl(hasName("C"), forEach(fieldDecl().bind("f"))), in TEST() 1360 forEach(recordDecl(forEach(fieldDecl().bind("f"))))), in TEST() 1367 … forEachDescendant(fieldDecl(hasName("x")).bind("x"))), in TEST() 1392 recordDecl(hasName("C"), forEachDescendant(fieldDecl().bind("f"))), in TEST() 1401 forEachDescendant(fieldDecl().bind("f"))))), in TEST() 1416 "class X { int a; };", recordDecl(decl().bind("x"), has(fieldDecl())), in TEST() 1537 recordDecl(hasName("::A"), findAll(fieldDecl().bind("v"))), in TEST() [all …]
|
D | ASTMatchersNodeTest.cpp | 134 hasDescendant(fieldDecl(hasName("a")))))); in TEST() 141 hasDescendant(fieldDecl(hasName("a")))))); in TEST() 1452 "", match(fieldDecl(hasParent(decl(has(fieldDecl( in verify() 1467 fieldDecl(hasName("y"), hasType(type().bind(""))).bind("decl"), in TEST()
|
/external/v8/tools/clang/rewrite_scoped_refptr/ |
D | RewriteScopedRefptr.cpp | 370 forField(id("var", fieldDecl(hasType(pointerType()))))))), in main()
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
D | RegistryTest.cpp | 374 has(fieldDecl(hasName("Foo"))), in TEST_F()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 180 REGISTER_MATCHER(fieldDecl); in RegistryMaps()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 397 void RewriteObjCFieldDecl(FieldDecl *fieldDecl, std::string &Result); 400 void RewriteLocallyDefinedNamedAggregates(FieldDecl *fieldDecl, 3702 void RewriteModernObjC::RewriteObjCFieldDecl(FieldDecl *fieldDecl, in RewriteObjCFieldDecl() argument 3704 QualType Type = fieldDecl->getType(); in RewriteObjCFieldDecl() 3705 std::string Name = fieldDecl->getNameAsString(); in RewriteObjCFieldDecl() 3711 if (fieldDecl->isBitField()) { in RewriteObjCFieldDecl() 3712 Result += " : "; Result += utostr(fieldDecl->getBitWidthValue(*Context)); in RewriteObjCFieldDecl() 3732 void RewriteModernObjC::RewriteLocallyDefinedNamedAggregates(FieldDecl *fieldDecl, in RewriteLocallyDefinedNamedAggregates() argument 3734 QualType Type = fieldDecl->getType(); in RewriteLocallyDefinedNamedAggregates() 3740 dyn_cast<ObjCContainerDecl>(fieldDecl->getDeclContext()); in RewriteLocallyDefinedNamedAggregates()
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
D | RewriteToChromeStyle.cpp | 1571 auto field_decl_matcher = id("decl", fieldDecl(in_blink_namespace)); in main()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 947 const internal::VariadicDynCastAllOfMatcher<Decl, FieldDecl> fieldDecl; variable
|