Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineInline.cpp329 auto *CanonDecl = FD->getCanonicalDecl(); in findTarget() local
330 if (!FD->isFunctionTemplateSpecialization() || CanonDecl == FD) in findTarget()
331 return CanonDecl; in findTarget()
336 while (PrevDecl->getPreviousDecl() != CanonDecl) { in findTarget()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp4015 Decl *CanonDecl = FirstLocal->getCanonicalDecl(); in loadPendingDeclChain() local
4016 if (FirstLocal != CanonDecl) { in loadPendingDeclChain()
4017 Decl *PrevMostRecent = ASTDeclReader::getMostRecentDecl(CanonDecl); in loadPendingDeclChain()
4019 *this, FirstLocal, PrevMostRecent ? PrevMostRecent : CanonDecl, in loadPendingDeclChain()
4020 CanonDecl); in loadPendingDeclChain()
4024 ASTDeclReader::attachLatestDecl(CanonDecl, FirstLocal); in loadPendingDeclChain()
4059 ASTDeclReader::attachPreviousDecl(*this, D, MostRecent, CanonDecl); in loadPendingDeclChain()
4062 ASTDeclReader::attachLatestDecl(CanonDecl, MostRecent); in loadPendingDeclChain()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCodeComplete.cpp1107 const Decl *CanonDecl = R.Declaration->getCanonicalDecl(); in MaybeAddResult() local
1108 unsigned IDNS = CanonDecl->getIdentifierNamespace(); in MaybeAddResult()
1129 if (ND->getCanonicalDecl() == CanonDecl) { in MaybeAddResult()
1172 if (!AllDeclsFound.insert(CanonDecl).second) in MaybeAddResult()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.cpp3813 const FunctionDecl *CanonDecl = FD->getCanonicalDecl(); in getFunctionFwdDeclOrStub() local
3815 std::make_tuple(CanonDecl), in getFunctionFwdDeclOrStub()