Home
last modified time | relevance | path

Searched refs:OrigD (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DCasting.cpp195 derived *OrigD = nullptr; in TEST() local
197 OrigD = D.get(); in TEST()
202 ASSERT_EQ(OrigD, NewD.get()); in TEST()
208 ASSERT_EQ(OrigD, B.get()); in TEST()
214 ASSERT_EQ(OrigD, NewB.get()); in TEST()
220 ASSERT_EQ(OrigD, D.get()); in TEST()
227 ASSERT_EQ(OrigD, D.get()); in TEST()
/external/clang/tools/libclang/
DCXIndexDataConsumer.cpp166 if (auto *ObjCID = dyn_cast_or_null<ObjCInterfaceDecl>(ASTNode.OrigD)) { in handleDeclOccurence()
174 if (auto *ObjCPD = dyn_cast_or_null<ObjCProtocolDecl>(ASTNode.OrigD)) { in handleDeclOccurence()
194 if (ASTNode.OrigD) { in handleDeclOccurence()
195 if (auto *OrigND = dyn_cast<NamedDecl>(ASTNode.OrigD)) in handleDeclOccurence()
198 Cursor = MakeCXCursor(ASTNode.OrigD, CXTU); in handleDeclOccurence()
215 IndexingDeclVisitor(*this, Loc, LexicalDC).Visit(ASTNode.OrigD); in handleDeclOccurence()
980 const NamedDecl *OrigD) { in handleCXXRecordDecl() argument
983 CXXClassDeclInfo CXXDInfo(/*isRedeclaration=*/!OrigD->isCanonicalDecl(), in handleCXXRecordDecl()
1003 return handleDecl(OrigD, OrigD->getLocation(), getCursor(OrigD), CXXDInfo); in handleCXXRecordDecl()
1006 DeclInfo DInfo(/*isRedeclaration=*/!OrigD->isCanonicalDecl(), in handleCXXRecordDecl()
[all …]
DCXIndexDataConsumer.h486 bool handleCXXRecordDecl(const CXXRecordDecl *RD, const NamedDecl *OrigD);
/external/clang/lib/Index/
DIndexingContext.cpp235 const Decl *OrigD, in handleDeclOccurrence() argument
282 if (!OrigD) in handleDeclOccurrence()
283 OrigD = D; in handleDeclOccurrence()
331 IndexDataConsumer::ASTNodeInfo Node{ OrigE, OrigD, Parent, ContainerDC }; in handleDeclOccurrence()
/external/clang/include/clang/Index/
DIndexDataConsumer.h30 const Decl *OrigD; member