Lines Matching defs:previous
198 static void attachPreviousDecl(Decl *D, Decl *previous);
1569 // We temporarily set the first (canonical) declaration as the previous one
1570 // which is the one that matters and mark the real previous DeclID to be
1884 void ASTDeclReader::attachPreviousDecl(Decl *D, Decl *previous) {
1885 assert(D && previous);
1887 TD->RedeclLink.setNext(cast<TagDecl>(previous));
1889 FD->RedeclLink.setNext(cast<FunctionDecl>(previous));
1891 VD->RedeclLink.setNext(cast<VarDecl>(previous));
1893 TD->RedeclLink.setNext(cast<TypedefNameDecl>(previous));
1895 ID->RedeclLink.setNext(cast<ObjCInterfaceDecl>(previous));
1897 PD->RedeclLink.setNext(cast<ObjCProtocolDecl>(previous));
1899 ND->RedeclLink.setNext(cast<NamespaceDecl>(previous));
1902 TD->RedeclLink.setNext(cast<RedeclarableTemplateDecl>(previous));
1965 Decl *previous = GetDecl(ID);
1966 ASTDeclReader::attachPreviousDecl(D, previous);