Searched refs:recordDecl (Results 1 - 12 of 12) sorted by relevance

/external/clang/unittests/ASTMatchers/
H A DASTMatchersNarrowingTest.cpp35 recordDecl(hasName("T")))))))));
40 recordDecl(hasName("T"))))),
46 recordDecl(hasName("T"))))),
52 DeclarationMatcher HasClassX = recordDecl(has(recordDecl(hasName("X"))));
57 recordDecl(hasName("Y"), has(recordDecl(hasName("X"))));
66 recordDecl(
67 has(recordDecl(
68 has(recordDecl(hasNam
[all...]
H A DASTMatchersInternalTest.cpp25 DeclarationMatcher HasEmptyName = recordDecl(hasName(""));
32 DeclarationMatcher HasEmptyName = recordDecl(matchesName(""));
63 DeclarationMatcher HasClassB = just(has(recordDecl(hasName("B")).bind("b")));
86 polymorphicHas(recordDecl(hasName("B")).bind("b"));
98 polymorphicHas(recordDecl(hasName("B")));
196 recordDecl(hasName("X"), isExpansionInMainFile())));
197 EXPECT_TRUE(notMatches("", recordDecl(isExpansionInMainFile())));
201 recordDecl(isExpansionInMainFile()), false,
209 "#include \"other\"\n", recordDecl(isExpansionInSystemHeader()), true,
212 recordDecl(isExpansionInSystemHeade
[all...]
H A DASTMatchersTraversalTest.cpp36 cxxRecordDecl(hasName("B"), isDerivedFrom(recordDecl()))));
46 recordDecl(hasDeclContext(namespaceDecl(hasName("M"))))));
53 recordDecl(hasDeclContext(namespaceDecl(hasName("N"))))));
60 recordDecl(hasDeclContext(namespaceDecl(
125 expr(hasType(pointsTo(recordDecl(hasName("X")))),
136 expr(hasType(pointsTo(recordDecl(hasName("X")))),
148 TypeMatcher TypeA = hasDeclaration(recordDecl(hasName("A")));
161 recordDecl(hasName("A"), has(recordDecl(hasName("B")))));
245 TypeMatcher ClassX = hasDeclaration(recordDecl(hasNam
[all...]
H A DASTMatchersNodeTest.cpp84 DeclarationMatcher ClassMatcher(recordDecl());
91 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X")));
202 cxxMemberCallExpr(on(hasType(recordDecl(hasName("Y")))));
221 cxxMemberCallExpr(on(hasType(pointsTo(recordDecl(hasName("Y"))))));
327 cxxMemberCallExpr(thisPointerType(recordDecl(hasName("Y"))));
359 cxxMemberCallExpr(thisPointerType(recordDecl(hasName("Y"))))))));
1009 initListExpr(hasType(recordDecl(hasName("B"))))));
1333 recordType(hasDeclaration(recordDecl(hasName("S"))))));
1335 recordType(hasDeclaration(recordDecl(hasNam
[all...]
/external/clang/unittests/ASTMatchers/Dynamic/
H A DVariantValueTest.cpp57 Value = VariantMatcher::SingleMatcher(recordDecl());
82 Value = VariantMatcher::SingleMatcher(recordDecl());
126 recordDecl(hasName("X"))))
H A DRegistryTest.cpp218 specifiesType(hasDeclaration(recordDecl(hasName("A")))))))
235 constructMatcher("recordDecl", IsDefinition).getTypedMatcher<Decl>();
247 "recordDecl", constructMatcher("hasName", StringRef("Foo")),
316 "recordDecl",
319 constructMatcher("recordDecl",
348 constructMatcher("recordDecl",
359 "allOf", constructMatcher("recordDecl"),
373 D = recordDecl(
386 constructMatcher("unless", constructMatcher("recordDecl")))
/external/clang/unittests/AST/
H A DASTContextParentMapTest.cpp28 cxxMethodDecl(hasParent(recordDecl(hasName("C"))))));
H A DSourceLocationTest.cpp40 EXPECT_FALSE(Verifier.match("int i;", recordDecl()));
/external/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp370 REGISTER_MATCHER(recordDecl);
/external/v8/tools/clang/rewrite_to_chrome_style/
H A DRewriteToChromeStyle.cpp1329 unless(hasAncestor(recordDecl(
/external/clang/lib/Sema/
H A DSemaType.cpp3375 RecordDecl *recordDecl = recordType->getDecl(); local
3380 isCFError = (S.CFError == recordDecl);
3384 if (recordDecl->getTagKind() == TTK_Struct && numNormalPointers > 0) {
3385 if (auto bridgeAttr = recordDecl->getAttr<ObjCBridgeAttr>()) {
3387 S.CFError = recordDecl;
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h28 // cxxRecordDecl(hasName("MyClass"), hasChild(id("child", recordDecl())))
354 RecordDecl> recordDecl; member in namespace:clang::ast_matchers

Completed in 585 milliseconds