Home
last modified time | relevance | path

Searched refs:CanonDecl (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DDefineInline.cpp336 auto CanonDecl = FD->getCanonicalDecl(); in findTarget() local
337 if (!FD->isFunctionTemplateSpecialization() || CanonDecl == FD) in findTarget()
338 return CanonDecl; in findTarget()
343 while (PrevDecl->getPreviousDecl() != CanonDecl) { in findTarget()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp3537 Decl *CanonDecl = FirstLocal->getCanonicalDecl(); in loadPendingDeclChain() local
3538 if (FirstLocal != CanonDecl) { in loadPendingDeclChain()
3539 Decl *PrevMostRecent = ASTDeclReader::getMostRecentDecl(CanonDecl); in loadPendingDeclChain()
3541 *this, FirstLocal, PrevMostRecent ? PrevMostRecent : CanonDecl, in loadPendingDeclChain()
3542 CanonDecl); in loadPendingDeclChain()
3546 ASTDeclReader::attachLatestDecl(CanonDecl, FirstLocal); in loadPendingDeclChain()
3569 ASTDeclReader::attachPreviousDecl(*this, D, MostRecent, CanonDecl); in loadPendingDeclChain()
3572 ASTDeclReader::attachLatestDecl(CanonDecl, MostRecent); in loadPendingDeclChain()
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp4230 Decl *CanonDecl = FirstLocal->getCanonicalDecl(); in loadPendingDeclChain() local
4231 if (FirstLocal != CanonDecl) { in loadPendingDeclChain()
4232 Decl *PrevMostRecent = ASTDeclReader::getMostRecentDecl(CanonDecl); in loadPendingDeclChain()
4234 *this, FirstLocal, PrevMostRecent ? PrevMostRecent : CanonDecl, in loadPendingDeclChain()
4235 CanonDecl); in loadPendingDeclChain()
4239 ASTDeclReader::attachLatestDecl(CanonDecl, FirstLocal); in loadPendingDeclChain()
4274 ASTDeclReader::attachPreviousDecl(*this, D, MostRecent, CanonDecl); in loadPendingDeclChain()
4277 ASTDeclReader::attachLatestDecl(CanonDecl, MostRecent); in loadPendingDeclChain()
/external/clang/lib/Sema/
DSemaCodeComplete.cpp848 const Decl *CanonDecl = R.Declaration->getCanonicalDecl(); in MaybeAddResult() local
849 unsigned IDNS = CanonDecl->getIdentifierNamespace(); in MaybeAddResult()
870 if (ND->getCanonicalDecl() == CanonDecl) { in MaybeAddResult()
913 if (!AllDeclsFound.insert(CanonDecl).second) in MaybeAddResult()
/external/llvm-project/clang/lib/Sema/
DSemaCodeComplete.cpp1075 const Decl *CanonDecl = R.Declaration->getCanonicalDecl(); in MaybeAddResult() local
1076 unsigned IDNS = CanonDecl->getIdentifierNamespace(); in MaybeAddResult()
1097 if (ND->getCanonicalDecl() == CanonDecl) { in MaybeAddResult()
1140 if (!AllDeclsFound.insert(CanonDecl).second) in MaybeAddResult()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp2710 const FunctionDecl *CanonDecl = cast<FunctionDecl>(FD->getCanonicalDecl()); in getFunctionForwardDeclaration() local
2712 std::make_tuple(CanonDecl), in getFunctionForwardDeclaration()
/external/llvm-project/clang/lib/CodeGen/
DCGDebugInfo.cpp3588 const FunctionDecl *CanonDecl = FD->getCanonicalDecl(); in getFunctionFwdDeclOrStub() local
3590 std::make_tuple(CanonDecl), in getFunctionFwdDeclOrStub()