Home
last modified time | relevance | path

Searched refs:OldTD (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSemaDeclCXX.cpp7318 TypeAliasDecl *OldTD = OldDecl->getTemplatedDecl(); in ActOnAliasDeclaration() local
7320 !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()
DSemaDecl.cpp6668 if (FunctionTemplateDecl *OldTD = in CheckFunctionDeclaration() local
6670 OldMD = dyn_cast<CXXMethodDecl>(OldTD->getTemplatedDecl()); in CheckFunctionDeclaration()