Searched refs:OldTD (Results 1 – 2 of 2) sorted by relevance
7318 TypeAliasDecl *OldTD = OldDecl->getTemplatedDecl(); in ActOnAliasDeclaration() local7320 !Context.hasSameType(OldTD->getUnderlyingType(), in ActOnAliasDeclaration()7325 << 2 << NewTD->getUnderlyingType() << OldTD->getUnderlyingType(); in ActOnAliasDeclaration()7326 if (OldTD->getLocation().isValid()) in ActOnAliasDeclaration()7327 Diag(OldTD->getLocation(), diag::note_previous_definition); in ActOnAliasDeclaration()
6668 if (FunctionTemplateDecl *OldTD = in CheckFunctionDeclaration() local6670 OldMD = dyn_cast<CXXMethodDecl>(OldTD->getTemplatedDecl()); in CheckFunctionDeclaration()