Home
last modified time | relevance | path

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

/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp396 hasDescendant(fieldDecl(hasName("a")))))); in TEST()
403 hasDescendant(fieldDecl(hasName("a")))))); in TEST()
1055 fieldDecl(hasType(asString("ns::A"))))); in TEST()
1057 fieldDecl(hasType(asString("struct (anonymous namespace)::A"))))); in TEST()
1552 refersToDeclaration(fieldDecl(hasName("next"))))))); in TEST()
1565 hasDescendant(declRefExpr(to(fieldDecl(hasName("next")))))))))); in TEST()
2554 memberExpr(hasDeclaration(fieldDecl(hasType(isInteger())))))); in TEST()
2557 memberExpr(hasDeclaration(fieldDecl(hasType(isInteger())))))); in TEST()
2562 "struct A { int i; };", fieldDecl(isPublic(), hasName("i")))); in TEST()
2564 "struct A { int i; };", fieldDecl(isProtected(), hasName("i")))); in TEST()
[all …]
/external/chromium_org/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp359 forField(id("var", fieldDecl(hasType(pointerType()))))))), in main()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp153 REGISTER_MATCHER(fieldDecl); in RegistryMaps()
/external/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp374 has(fieldDecl(hasName("Foo"))), in TEST_F()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp408 void RewriteObjCFieldDecl(FieldDecl *fieldDecl, std::string &Result);
411 void RewriteLocallyDefinedNamedAggregates(FieldDecl *fieldDecl,
3800 void RewriteModernObjC::RewriteObjCFieldDecl(FieldDecl *fieldDecl, in RewriteObjCFieldDecl() argument
3802 QualType Type = fieldDecl->getType(); in RewriteObjCFieldDecl()
3803 std::string Name = fieldDecl->getNameAsString(); in RewriteObjCFieldDecl()
3809 if (fieldDecl->isBitField()) { in RewriteObjCFieldDecl()
3810 Result += " : "; Result += utostr(fieldDecl->getBitWidthValue(*Context)); in RewriteObjCFieldDecl()
3830 void RewriteModernObjC::RewriteLocallyDefinedNamedAggregates(FieldDecl *fieldDecl, in RewriteLocallyDefinedNamedAggregates() argument
3832 QualType Type = fieldDecl->getType(); in RewriteLocallyDefinedNamedAggregates()
3838 dyn_cast<ObjCContainerDecl>(fieldDecl->getDeclContext()); in RewriteLocallyDefinedNamedAggregates()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h577 const internal::VariadicDynCastAllOfMatcher<Decl, FieldDecl> fieldDecl; variable