Home
last modified time | relevance | path

Searched refs:fieldDecl (Results 1 – 9 of 9) sorted by relevance

/external/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp277 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 …]
DASTMatchersTraversalTest.cpp552 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 …]
DASTMatchersNodeTest.cpp134 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/
DRewriteScopedRefptr.cpp370 forField(id("var", fieldDecl(hasType(pointerType()))))))), in main()
/external/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp374 has(fieldDecl(hasName("Foo"))), in TEST_F()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp180 REGISTER_MATCHER(fieldDecl); in RegistryMaps()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp397 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/
DRewriteToChromeStyle.cpp1571 auto field_decl_matcher = id("decl", fieldDecl(in_blink_namespace)); in main()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h947 const internal::VariadicDynCastAllOfMatcher<Decl, FieldDecl> fieldDecl; variable