Home | History | Annotate | Download | only in Serialization

Lines Matching defs:Previous

285                                            Decl *Previous);
289 Redeclarable<DeclT> *D, Decl *Previous,
292 static void attachPreviousDecl(ASTReader &Reader, Decl *D, Decl *Previous,
2488 // We temporarily set the first (canonical) declaration as the previous one
2489 // which is the one that matters and mark the real previous DeclID to be
3260 /// Find the context in which we should search for previous declarations when
3388 auto &Previous = Reader.AnonymousDeclarationsForMerging[CanonDC];
3389 if (Index < Previous.size() && Previous[Index])
3390 return Previous[Index];
3397 if (Previous.size() == Number)
3398 Previous.push_back(cast<NamedDecl>(ND->getCanonicalDecl()));
3400 Previous[Number] = cast<NamedDecl>(ND->getCanonicalDecl());
3404 return Index < Previous.size() ? Previous[Index] : nullptr;
3412 auto &Previous = Reader.AnonymousDeclarationsForMerging[CanonDC];
3413 if (Index >= Previous.size())
3414 Previous.resize(Index + 1);
3415 if (!Previous[Index])
3416 Previous[Index] = D;
3539 Decl *Previous) {
3542 const auto *IA = Previous->getAttr<MSInheritanceAttr>();
3554 Decl *Previous, Decl *Canon) {
3555 D->RedeclLink.setPrevious(cast<DeclT>(Previous));
3556 D->First = cast<DeclT>(Previous)->First;
3564 Decl *Previous, Decl *Canon) {
3566 auto *PrevVD = cast<VarDecl>(Previous);
3592 Decl *Previous, Decl *Canon) {
3594 auto *PrevFD = cast<FunctionDecl>(Previous);
3599 // If the previous declaration is an inline function declaration, then this
3683 Decl *Previous, Decl *Canon) {
3684 assert(D && Previous);
3690 attachPreviousDeclImpl(Reader, cast<TYPE##Decl>(D), Previous, Canon); \
3701 Previous->IdentifierNamespace &
3705 // from the previous declaration.
3708 cast<TemplateDecl>(Previous), TD);
3714 mergeInheritableAttributes(Reader, D, Previous);