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

/external/clang/unittests/AST/
H A DASTContextParentMapTest.cpp31 methodDecl(hasParent(recordDecl(hasName("C"))))));
46 hasParent(recordDecl(isTemplateInstantiation())))));
51 hasParent(recordDecl(unless(isTemplateInstantiation()))))));
56 allOf(hasParent(recordDecl(unless(isTemplateInstantiation()))),
57 hasParent(recordDecl(isTemplateInstantiation()))))));
66 allOf(hasAncestor(recordDecl(isTemplateInstantiation())),
67 hasAncestor(recordDecl(unless(isTemplateInstantiation())))))));
H A DSourceLocationTest.cpp40 EXPECT_FALSE(Verifier.match("int i;", recordDecl()));
354 friendDecl(hasParent(recordDecl(isTemplateInstantiation())))));
/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp25 DeclarationMatcher HasEmptyName = recordDecl(hasName(""));
32 DeclarationMatcher HasEmptyName = recordDecl(matchesName(""));
39 DeclarationMatcher IsDerivedFromEmpty = recordDecl(isDerivedFrom(""));
108 DeclarationMatcher ClassMatcher(recordDecl());
117 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X")));
125 DeclarationMatcher IsDerivedFromX = recordDecl(isDerivedFrom("X"));
133 DeclarationMatcher IsAX = recordDecl(isSameOrDerivedFrom("X"));
142 recordDecl(hasName("Z"), isDerivedFrom("X"));
261 recordDecl(isDerivedFro
[all...]
/external/clang/unittests/ASTMatchers/Dynamic/
H A DVariantValueTest.cpp60 Value = VariantMatcher::SingleMatcher(recordDecl());
85 Value = VariantMatcher::SingleMatcher(recordDecl());
129 recordDecl(hasName("X"))))
H A DRegistryTest.cpp218 specifiesType(hasDeclaration(recordDecl(hasName("A")))))))
235 constructMatcher("recordDecl", IsDefinition).getTypedMatcher<Decl>();
247 "recordDecl", constructMatcher("hasName", std::string("Foo")),
316 "recordDecl",
319 constructMatcher("recordDecl",
348 constructMatcher("recordDecl",
359 "allOf", constructMatcher("recordDecl"),
373 D = recordDecl(
412 EXPECT_TRUE(constructMatcher("recordDecl", constructMatcher("recordDecl"),
[all...]
/external/chromium_org/tools/clang/rewrite_scoped_refptr/
H A DRewriteScopedRefptr.cpp266 auto is_scoped_refptr = recordDecl(isSameOrDerivedFrom("::scoped_refptr"),
320 anyOf(methodDecl(ofClass(recordDecl(isSameOrDerivedFrom(
325 recordDecl(isSameOrDerivedFrom(hasName("::testing::AssertionResult")))));
/external/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp275 REGISTER_MATCHER(recordDecl);
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h17 // recordDecl(hasName("MyClass"))
28 // recordDecl(hasName("MyClass"), hasChild(id("child", recordDecl())))
192 CXXRecordDecl> recordDecl; member in namespace:clang::ast_matchers
1396 /// recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")),
1542 /// line and \c recordDecl(hasMethod(hasOverloadedOperatorName("*"))) matches
1613 /// \c recordDecl(hasMethod(hasName("func"))) matches the declaration of \c A
1624 /// Example matches X, Y (matcher = recordDecl(has(recordDecl(hasName("X")))
1641 /// (matcher = recordDecl(hasDescendan
[all...]

Completed in 8537 milliseconds