Home
last modified time | relevance | path

Searched refs:MostRecent (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DIdentifierResolver.cpp281 Decl *MostRecent = Existing->getMostRecentDecl(); in compareDeclarations() local
282 if (Existing == MostRecent) in compareDeclarations()
285 if (New == MostRecent) in compareDeclarations()
H A DSemaDecl.cpp4518 VarDecl *MostRecent = Old->getMostRecentDecl(); in MergeVarDecl() local
4519 if (MostRecent != Old) { in MergeVarDecl()
4520 MergeVarDeclTypes(New, MostRecent, in MergeVarDecl()
4521 mergeTypeWithPrevious(*this, New, MostRecent, Previous)); in MergeVarDecl()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp4056 Decl *MostRecent = FirstLocal; in loadPendingDeclChain() local
4059 ASTDeclReader::attachPreviousDecl(*this, D, MostRecent, CanonDecl); in loadPendingDeclChain()
4060 MostRecent = D; in loadPendingDeclChain()
4062 ASTDeclReader::attachLatestDecl(CanonDecl, MostRecent); in loadPendingDeclChain()
4191 auto *MostRecent = D->getMostRecentDecl(); in forAllLaterRedecls() local
4193 for (auto *Redecl = MostRecent; Redecl && !Found; in forAllLaterRedecls()
4199 for (auto *Redecl = MostRecent; Redecl != D; in forAllLaterRedecls()
H A DASTWriterDecl.cpp1811 T *MostRecent = First->getMostRecentDecl(); in VisitRedeclarable() local
1813 if (MostRecent != First) { in VisitRedeclarable()
1860 (void)Writer.GetDeclRef(MostRecent); in VisitRedeclarable()
/llvm-project-15.0.7/clang/lib/AST/
H A DDecl.cpp1197 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux() local
1198 if (MostRecent != ND) in getExplicitVisibilityAux()
1199 return getExplicitVisibilityAux(MostRecent, kind, true); in getExplicitVisibilityAux()
4966 auto *MostRecent = getMostRecentDecl(); in isWeak() local
4967 return MostRecent->hasAttr<WeakAttr>() || in isWeak()
4968 MostRecent->hasAttr<WeakRefAttr>() || isWeakImported(); in isWeak()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDecl.h4686 decl_type *MostRecent = First->getNextRedeclaration(); in setPreviousDecl() local
4687 RedeclLink = PreviousDeclLink(cast<decl_type>(MostRecent)); in setPreviousDecl()
4692 MostRecent->getIdentifierNamespace() & in setPreviousDecl()