OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:recordDecl
(Results
1 - 7
of
7
) sorted by null
/external/clang/unittests/AST/
ASTContextParentMapTest.cpp
31
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())))))));
SourceLocationTest.cpp
40
EXPECT_FALSE(Verifier.match("int i;",
recordDecl
()));
44
LocationVerifier<
RecordDecl
> Verifier;
530
friendDecl(hasParent(
recordDecl
(isTemplateInstantiation())))));
/external/clang/unittests/ASTMatchers/
ASTMatchersTest.cpp
25
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
(isDerivedFrom(recordDecl(hasName("Some"))))))
[
all
...]
/external/clang/unittests/ASTMatchers/Dynamic/
VariantValueTest.cpp
60
Value = VariantMatcher::SingleMatcher(
recordDecl
());
85
Value = VariantMatcher::SingleMatcher(
recordDecl
());
129
recordDecl
(hasName("X"))))
RegistryTest.cpp
218
specifiesType(hasDeclaration(
recordDecl
(hasName("A")))))))
235
constructMatcher("
recordDecl
", IsDefinition).getTypedMatcher<Decl>();
246
Matcher<Decl>
RecordDecl
= constructMatcher(
247
"
recordDecl
", constructMatcher("hasName", std::string("Foo")),
253
EXPECT_FALSE(matches("int Foo;",
RecordDecl
));
254
EXPECT_TRUE(matches("class Foo {};",
RecordDecl
));
255
EXPECT_FALSE(matches("void Foo(){};",
RecordDecl
));
316
"
recordDecl
",
319
constructMatcher("
recordDecl
",
348
constructMatcher("
recordDecl
",
[
all
...]
/external/clang/include/clang/ASTMatchers/
ASTMatchers.h
17
//
recordDecl
(hasName("MyClass"))
28
//
recordDecl
(hasName("MyClass"), hasChild(id("child",
recordDecl
())))
173
/// Example matches X but not Y (matcher =
recordDecl
(isExpansionInMainFile())
194
/// (matcher =
recordDecl
(isExpansionInSystemHeader())
219
/// (matcher =
recordDecl
(isExpansionInFileMatching("AST.*"))
304
CXXRecordDecl>
recordDecl
;
[
all
...]
/external/clang/lib/ASTMatchers/Dynamic/
Registry.cpp
297
REGISTER_MATCHER(
recordDecl
);
Completed in 1039 milliseconds