Searched refs:OrigD (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | Casting.cpp | 273 derived *OrigD = nullptr; in TEST() local 275 OrigD = D.get(); in TEST() 280 ASSERT_EQ(OrigD, NewD.get()); in TEST() 286 ASSERT_EQ(OrigD, B.get()); in TEST() 292 ASSERT_EQ(OrigD, NewB.get()); in TEST() 298 ASSERT_EQ(OrigD, D.get()); in TEST() 306 ASSERT_EQ(OrigD, D.get()); in TEST()
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexingContext.cpp | 65 const Decl *OrigD = D; in handleDecl() local 71 nullptr, OrigD, DC); in handleDecl() 361 const Decl *OrigD, in handleDeclOccurrence() argument 391 if (!OrigD) in handleDeclOccurrence() 392 OrigD = D; in handleDeclOccurrence() 405 else if (isDeclADefinition(OrigD, ContainerDC, *Ctx)) in handleDeclOccurrence() 449 IndexDataConsumer::ASTNodeInfo Node{OrigE, OrigD, Parent, ContainerDC}; in handleDeclOccurrence()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXIndexDataConsumer.cpp | 172 if (auto *ObjCID = dyn_cast_or_null<ObjCInterfaceDecl>(ASTNode.OrigD)) { in handleDeclOccurrence() 180 if (auto *ObjCPD = dyn_cast_or_null<ObjCProtocolDecl>(ASTNode.OrigD)) { in handleDeclOccurrence() 201 if (ASTNode.OrigD) { in handleDeclOccurrence() 202 if (auto *OrigND = dyn_cast<NamedDecl>(ASTNode.OrigD)) in handleDeclOccurrence() 205 Cursor = MakeCXCursor(ASTNode.OrigD, CXTU); in handleDeclOccurrence() 222 IndexingDeclVisitor(*this, Loc, LexicalDC).Visit(ASTNode.OrigD); in handleDeclOccurrence() 989 const NamedDecl *OrigD) { in handleCXXRecordDecl() argument 992 CXXClassDeclInfo CXXDInfo(/*isRedeclaration=*/!OrigD->isCanonicalDecl(), in handleCXXRecordDecl() 1012 return handleDecl(OrigD, OrigD->getLocation(), getCursor(OrigD), CXXDInfo); in handleCXXRecordDecl() 1015 DeclInfo DInfo(/*isRedeclaration=*/!OrigD->isCanonicalDecl(), in handleCXXRecordDecl() [all …]
|
| H A D | CXIndexDataConsumer.h | 455 bool handleCXXRecordDecl(const CXXRecordDecl *RD, const NamedDecl *OrigD);
|
| /llvm-project-15.0.7/clang/include/clang/Index/ |
| H A D | IndexDataConsumer.h | 30 const Decl *OrigD; member
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | SymbolCollector.cpp | 527 assert(ASTNode.OrigD); in handleDeclOccurrence() 532 D = ASTNode.OrigD; in handleDeclOccurrence() 536 if ((ASTNode.OrigD->getFriendObjectKind() != in handleDeclOccurrence() 544 D = CanonicalDecls.try_emplace(D, ASTNode.OrigD).first->second; in handleDeclOccurrence() 588 if (ASTNode.OrigD->isImplicit() || in handleDeclOccurrence() 623 auto *OriginalDecl = dyn_cast<NamedDecl>(ASTNode.OrigD); in handleDeclOccurrence()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplate.cpp | 9459 static void completeMemberSpecializationImpl(Sema &S, DeclT *OrigD, in completeMemberSpecializationImpl() argument 9461 if (OrigD->getTemplateSpecializationKind() != TSK_ImplicitInstantiation) in completeMemberSpecializationImpl() 9468 OrigD->setTemplateSpecializationKind(TSK_ExplicitSpecialization); in completeMemberSpecializationImpl() 9469 OrigD->setLocation(Loc); in completeMemberSpecializationImpl()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | XRefs.cpp | 931 llvm::dyn_cast_or_null<ObjCMethodDecl>(ASTNode.OrigD)) { in handleDeclOccurrence()
|