Lines Matching refs:OldDecl
5147 NamedDecl *OldDecl = 0; in CheckUsingShadowDecl() local
5148 switch (CheckOverload(0, FD, Previous, OldDecl, /*IsForUsingDecl*/ true)) { in CheckUsingShadowDecl()
5170 Diag(OldDecl->getLocation(), diag::note_using_decl_conflict); in CheckUsingShadowDecl()
5717 TypeAliasTemplateDecl *OldDecl = 0; in ActOnAliasDeclaration() local
5733 OldDecl = Previous.getAsSingle<TypeAliasTemplateDecl>(); in ActOnAliasDeclaration()
5734 if (!OldDecl && !Invalid) { in ActOnAliasDeclaration()
5745 if (!Invalid && OldDecl && !OldDecl->isInvalidDecl()) { in ActOnAliasDeclaration()
5747 OldDecl->getTemplateParameters(), in ActOnAliasDeclaration()
5750 OldTemplateParams = OldDecl->getTemplateParameters(); in ActOnAliasDeclaration()
5754 TypeAliasDecl *OldTD = OldDecl->getTemplatedDecl(); in ActOnAliasDeclaration()
5784 else if (OldDecl) in ActOnAliasDeclaration()
5785 NewDecl->setPreviousDeclaration(OldDecl); in ActOnAliasDeclaration()