Lines Matching refs:Previous

231                                        Redeclarable<DeclT> *D, Decl *Previous,
234 static void attachPreviousDecl(ASTReader &Reader, Decl *D, Decl *Previous,
2685 auto &Previous = Reader.AnonymousDeclarationsForMerging[DC]; in getAnonymousDeclForMerging() local
2686 if (Index < Previous.size() && Previous[Index]) in getAnonymousDeclForMerging()
2687 return Previous[Index]; in getAnonymousDeclForMerging()
2693 if (Previous.size() == Number) in getAnonymousDeclForMerging()
2694 Previous.push_back(cast<NamedDecl>(ND->getCanonicalDecl())); in getAnonymousDeclForMerging()
2696 Previous[Number] = cast<NamedDecl>(ND->getCanonicalDecl()); in getAnonymousDeclForMerging()
2700 return Index < Previous.size() ? Previous[Index] : nullptr; in getAnonymousDeclForMerging()
2709 auto &Previous = Reader.AnonymousDeclarationsForMerging[DC]; in setAnonymousDeclForMerging() local
2710 if (Index >= Previous.size()) in setAnonymousDeclForMerging()
2711 Previous.resize(Index + 1); in setAnonymousDeclForMerging()
2712 if (!Previous[Index]) in setAnonymousDeclForMerging()
2713 Previous[Index] = D; in setAnonymousDeclForMerging()
2842 Decl *Previous, Decl *Canon) { in attachPreviousDeclImpl() argument
2843 D->RedeclLink.setPrevious(cast<DeclT>(Previous)); in attachPreviousDeclImpl()
2844 D->First = cast<DeclT>(Previous)->First; in attachPreviousDeclImpl()
2850 Decl *Previous, Decl *Canon) { in attachPreviousDeclImpl() argument
2852 FunctionDecl *PrevFD = cast<FunctionDecl>(Previous); in attachPreviousDeclImpl()
2897 Decl *Previous, Decl *Canon) { in attachPreviousDecl() argument
2898 assert(D && Previous); in attachPreviousDecl()
2904 attachPreviousDeclImpl(Reader, cast<TYPE##Decl>(D), Previous, Canon); \ in attachPreviousDecl()
2915 Previous->IdentifierNamespace & in attachPreviousDecl()
2920 if (Previous->Used) in attachPreviousDecl()