/external/llvm-project/llvm/unittests/Support/ |
D | Casting.cpp | 200 derived *OrigD = nullptr; in TEST() local 202 OrigD = D.get(); in TEST() 207 ASSERT_EQ(OrigD, NewD.get()); in TEST() 213 ASSERT_EQ(OrigD, B.get()); in TEST() 219 ASSERT_EQ(OrigD, NewB.get()); in TEST() 225 ASSERT_EQ(OrigD, D.get()); in TEST() 232 ASSERT_EQ(OrigD, D.get()); in TEST()
|
/external/llvm-project/clang/lib/Index/ |
D | IndexingContext.cpp | 65 const Decl *OrigD = D; in handleDecl() local 71 nullptr, OrigD, DC); in handleDecl() 365 const Decl *OrigD, in handleDeclOccurrence() argument 395 if (!OrigD) in handleDeclOccurrence() 396 OrigD = D; in handleDeclOccurrence() 409 else if (isDeclADefinition(OrigD, ContainerDC, *Ctx)) in handleDeclOccurrence() 453 IndexDataConsumer::ASTNodeInfo Node{OrigE, OrigD, Parent, ContainerDC}; in handleDeclOccurrence()
|
/external/llvm-project/clang/tools/libclang/ |
D | CXIndexDataConsumer.cpp | 167 if (auto *ObjCID = dyn_cast_or_null<ObjCInterfaceDecl>(ASTNode.OrigD)) { in handleDeclOccurrence() 175 if (auto *ObjCPD = dyn_cast_or_null<ObjCProtocolDecl>(ASTNode.OrigD)) { in handleDeclOccurrence() 196 if (ASTNode.OrigD) { in handleDeclOccurrence() 197 if (auto *OrigND = dyn_cast<NamedDecl>(ASTNode.OrigD)) in handleDeclOccurrence() 200 Cursor = MakeCXCursor(ASTNode.OrigD, CXTU); in handleDeclOccurrence() 217 IndexingDeclVisitor(*this, Loc, LexicalDC).Visit(ASTNode.OrigD); in handleDeclOccurrence() 976 const NamedDecl *OrigD) { in handleCXXRecordDecl() argument 979 CXXClassDeclInfo CXXDInfo(/*isRedeclaration=*/!OrigD->isCanonicalDecl(), in handleCXXRecordDecl() 999 return handleDecl(OrigD, OrigD->getLocation(), getCursor(OrigD), CXXDInfo); in handleCXXRecordDecl() 1002 DeclInfo DInfo(/*isRedeclaration=*/!OrigD->isCanonicalDecl(), in handleCXXRecordDecl() [all …]
|
D | CXIndexDataConsumer.h | 454 bool handleCXXRecordDecl(const CXXRecordDecl *RD, const NamedDecl *OrigD);
|
/external/clang/tools/libclang/ |
D | CXIndexDataConsumer.cpp | 166 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 …]
|
D | CXIndexDataConsumer.h | 486 bool handleCXXRecordDecl(const CXXRecordDecl *RD, const NamedDecl *OrigD);
|
/external/clang/lib/Index/ |
D | IndexingContext.cpp | 235 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/llvm-project/clang-tools-extra/clangd/index/ |
D | SymbolCollector.cpp | 262 assert(ASTNode.OrigD); in handleDeclOccurrence() 267 D = ASTNode.OrigD; in handleDeclOccurrence() 271 if ((ASTNode.OrigD->getFriendObjectKind() != in handleDeclOccurrence() 279 D = CanonicalDecls.try_emplace(D, ASTNode.OrigD).first->second; in handleDeclOccurrence() 323 if (ASTNode.OrigD->isImplicit() || in handleDeclOccurrence() 360 auto *OriginalDecl = dyn_cast<NamedDecl>(ASTNode.OrigD); in handleDeclOccurrence()
|
/external/clang/include/clang/Index/ |
D | IndexDataConsumer.h | 30 const Decl *OrigD; member
|
/external/llvm-project/clang/include/clang/Index/ |
D | IndexDataConsumer.h | 30 const Decl *OrigD; member
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplate.cpp | 9368 static void completeMemberSpecializationImpl(Sema &S, DeclT *OrigD, in completeMemberSpecializationImpl() argument 9370 if (OrigD->getTemplateSpecializationKind() != TSK_ImplicitInstantiation) in completeMemberSpecializationImpl() 9377 OrigD->setTemplateSpecializationKind(TSK_ExplicitSpecialization); in completeMemberSpecializationImpl() 9378 OrigD->setLocation(Loc); in completeMemberSpecializationImpl()
|