Lines Matching refs:OldDecl
6704 NamedDecl *OldDecl = 0;
6705 switch (CheckOverload(0, FD, Previous, OldDecl, /*IsForUsingDecl*/ true)) {
6727 Diag(OldDecl->getLocation(), diag::note_using_decl_conflict);
7281 TypeAliasTemplateDecl *OldDecl = 0;
7297 OldDecl = Previous.getAsSingle<TypeAliasTemplateDecl>();
7298 if (!OldDecl && !Invalid) {
7309 if (!Invalid && OldDecl && !OldDecl->isInvalidDecl()) {
7311 OldDecl->getTemplateParameters(),
7314 OldTemplateParams = OldDecl->getTemplateParameters();
7318 TypeAliasDecl *OldTD = OldDecl->getTemplatedDecl();
7348 else if (OldDecl)
7349 NewDecl->setPreviousDeclaration(OldDecl);