Lines Matching refs:OldDecl
6082 NamedDecl *OldDecl = 0;
6083 switch (CheckOverload(0, FD, Previous, OldDecl, /*IsForUsingDecl*/ true)) {
6105 Diag(OldDecl->getLocation(), diag::note_using_decl_conflict);
6656 TypeAliasTemplateDecl *OldDecl = 0;
6672 OldDecl = Previous.getAsSingle<TypeAliasTemplateDecl>();
6673 if (!OldDecl && !Invalid) {
6684 if (!Invalid && OldDecl && !OldDecl->isInvalidDecl()) {
6686 OldDecl->getTemplateParameters(),
6689 OldTemplateParams = OldDecl->getTemplateParameters();
6693 TypeAliasDecl *OldTD = OldDecl->getTemplatedDecl();
6723 else if (OldDecl)
6724 NewDecl->setPreviousDeclaration(OldDecl);