Home
last modified time | relevance | path

Searched refs:recordDecl (Results 1 – 10 of 10) sorted by relevance

/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp25 DeclarationMatcher HasEmptyName = recordDecl(hasName("")); in TEST()
32 DeclarationMatcher HasEmptyName = recordDecl(matchesName("")); in TEST()
108 DeclarationMatcher ClassMatcher(recordDecl()); in TEST()
117 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X"))); in TEST()
261 cxxRecordDecl(isDerivedFrom(recordDecl(hasName("Some")))))); in TEST()
268 cxxRecordDecl(hasName("B"), isDerivedFrom(recordDecl(hasName("A")))))); in TEST()
329 cxxRecordDecl(isDerivedFrom(recordDecl(hasName("X")).bind("test"))))); in TEST()
352 cxxRecordDecl(hasName("B"), isDerivedFrom(recordDecl())))); in TEST()
362 recordDecl(hasDeclContext(namespaceDecl(hasName("M")))))); in TEST()
369 recordDecl(hasDeclContext(namespaceDecl(hasName("N")))))); in TEST()
[all …]
/external/clang/unittests/ASTMatchers/Dynamic/
DVariantValueTest.cpp60 Value = VariantMatcher::SingleMatcher(recordDecl()); in TEST()
85 Value = VariantMatcher::SingleMatcher(recordDecl()); in TEST()
129 recordDecl(hasName("X")))) in TEST()
DRegistryTest.cpp218 specifiesType(hasDeclaration(recordDecl(hasName("A"))))))) in TEST_F()
373 D = recordDecl( in TEST_F()
/external/clang/docs/
DLibASTMatchers.rst30 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
DReleaseNotes.rst126 recordDecl recordDecl and cxxRecordDecl
156 recordDecl() previously matched AST nodes of type CXXRecordDecl, but now
/external/clang/unittests/AST/
DASTContextParentMapTest.cpp32 cxxMethodDecl(hasParent(recordDecl(hasName("C")))))); in TEST()
DSourceLocationTest.cpp40 EXPECT_FALSE(Verifier.match("int i;", recordDecl())); in TEST()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp333 REGISTER_MATCHER(recordDecl); in RegistryMaps()
/external/clang/lib/Sema/
DSemaType.cpp3137 RecordDecl *recordDecl = recordType->getDecl(); in classifyPointerDeclarator() local
3142 isCFError = (S.CFError == recordDecl); in classifyPointerDeclarator()
3146 if (recordDecl->getTagKind() == TTK_Struct && numNormalPointers > 0) { in classifyPointerDeclarator()
3147 if (auto bridgeAttr = recordDecl->getAttr<ObjCBridgeAttr>()) { in classifyPointerDeclarator()
3149 S.CFError = recordDecl; in classifyPointerDeclarator()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h319 RecordDecl> recordDecl; variable