Lines Matching refs:OldDecl
7981 NamedDecl *OldDecl = nullptr; in CheckUsingShadowDecl() local
7982 switch (CheckOverload(nullptr, FD, Previous, OldDecl, in CheckUsingShadowDecl()
8005 Diag(OldDecl->getLocation(), diag::note_using_decl_conflict); in CheckUsingShadowDecl()
8803 TypeAliasTemplateDecl *OldDecl = nullptr; in ActOnAliasDeclaration() local
8823 OldDecl = Previous.getAsSingle<TypeAliasTemplateDecl>(); in ActOnAliasDeclaration()
8824 if (!OldDecl && !Invalid) { in ActOnAliasDeclaration()
8835 if (!Invalid && OldDecl && !OldDecl->isInvalidDecl()) { in ActOnAliasDeclaration()
8837 OldDecl->getTemplateParameters(), in ActOnAliasDeclaration()
8840 OldTemplateParams = OldDecl->getTemplateParameters(); in ActOnAliasDeclaration()
8844 TypeAliasDecl *OldTD = OldDecl->getTemplatedDecl(); in ActOnAliasDeclaration()
8875 else if (OldDecl) in ActOnAliasDeclaration()
8876 NewDecl->setPreviousDecl(OldDecl); in ActOnAliasDeclaration()