Searched refs:recordDecl (Results 1 – 8 of 8) sorted by relevance
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 25 DeclarationMatcher HasEmptyName = recordDecl(hasName("")); in TEST() 32 DeclarationMatcher HasEmptyName = recordDecl(matchesName("")); in TEST() 39 DeclarationMatcher IsDerivedFromEmpty = recordDecl(isDerivedFrom("")); in TEST() 108 DeclarationMatcher ClassMatcher(recordDecl()); in TEST() 117 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X"))); in TEST() 125 DeclarationMatcher IsDerivedFromX = recordDecl(isDerivedFrom("X")); in TEST() 133 DeclarationMatcher IsAX = recordDecl(isSameOrDerivedFrom("X")); in TEST() 142 recordDecl(hasName("Z"), isDerivedFrom("X")); in TEST() 261 recordDecl(isDerivedFrom(recordDecl(hasName("Some")))))); in TEST() 268 recordDecl(hasName("B"), isDerivedFrom(recordDecl(hasName("A")))))); in TEST() [all …]
|
/external/clang/unittests/AST/ |
D | ASTContextParentMapTest.cpp | 31 methodDecl(hasParent(recordDecl(hasName("C")))))); in TEST() 46 hasParent(recordDecl(isTemplateInstantiation()))))); in TEST() 51 hasParent(recordDecl(unless(isTemplateInstantiation())))))); in TEST() 56 allOf(hasParent(recordDecl(unless(isTemplateInstantiation()))), in TEST() 57 hasParent(recordDecl(isTemplateInstantiation())))))); in TEST() 66 allOf(hasAncestor(recordDecl(isTemplateInstantiation())), in TEST() 67 hasAncestor(recordDecl(unless(isTemplateInstantiation()))))))); in TEST()
|
D | SourceLocationTest.cpp | 40 EXPECT_FALSE(Verifier.match("int i;", recordDecl())); in TEST() 530 friendDecl(hasParent(recordDecl(isTemplateInstantiation()))))); in TEST()
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
D | VariantValueTest.cpp | 60 Value = VariantMatcher::SingleMatcher(recordDecl()); in TEST() 85 Value = VariantMatcher::SingleMatcher(recordDecl()); in TEST() 129 recordDecl(hasName("X")))) in TEST()
|
D | RegistryTest.cpp | 218 specifiesType(hasDeclaration(recordDecl(hasName("A"))))))) in TEST_F() 373 D = recordDecl( in TEST_F()
|
/external/clang/docs/ |
D | LibASTMatchers.rst | 30 in the AST of a translation unit, you can call `recordDecl() 34 call ``recordDecl(hasName("Foo"))`` returns a matcher that matches classes or 39 "``Bar``": ``recordDecl(hasName("Foo"), isDerivedFrom("Bar"))``. 81 are bindable; for example, ``recordDecl(hasName("MyClass")).bind("id")`` will 82 bind the matched ``recordDecl`` node to the string "``id``", to be later
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 304 CXXRecordDecl> recordDecl; variable 3295 auto IsInstantiation = decl(anyOf(recordDecl(isTemplateInstantiation()), in AST_MATCHER_FUNCTION() 3316 hasAncestor(decl(anyOf(recordDecl(isTemplateInstantiation()), in AST_MATCHER_FUNCTION()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 297 REGISTER_MATCHER(recordDecl); in RegistryMaps()
|