Searched refs:OldTD (Results 1 – 2 of 2) sorted by relevance
1879 if (auto *OldTD = dyn_cast<TypedefNameDecl>(Old)) { in filterNonConflictingPreviousTypedefDecls() local1880 if (S.Context.hasSameType(OldTD->getUnderlyingType(), in filterNonConflictingPreviousTypedefDecls()1887 OldTD->getAnonDeclWithTypedefName(/*AnyRedecl*/true) && in filterNonConflictingPreviousTypedefDecls()2001 if (auto *OldTD = dyn_cast<TypedefNameDecl>(Old)) { in MergeTypedefNameDecl() local2002 auto *OldTag = OldTD->getAnonDeclWithTypedefName(/*AnyRedecl*/true); in MergeTypedefNameDecl()2010 New->setTypeForDecl(OldTD->getTypeForDecl()); in MergeTypedefNameDecl()2011 if (OldTD->isModed()) in MergeTypedefNameDecl()2012 New->setModedTypeSourceInfo(OldTD->getTypeSourceInfo(), in MergeTypedefNameDecl()2013 OldTD->getUnderlyingType()); in MergeTypedefNameDecl()2015 New->setTypeSourceInfo(OldTD->getTypeSourceInfo()); in MergeTypedefNameDecl()[all …]
8844 TypeAliasDecl *OldTD = OldDecl->getTemplatedDecl(); in ActOnAliasDeclaration() local8846 !Context.hasSameType(OldTD->getUnderlyingType(), in ActOnAliasDeclaration()8851 << 2 << NewTD->getUnderlyingType() << OldTD->getUnderlyingType(); in ActOnAliasDeclaration()8852 if (OldTD->getLocation().isValid()) in ActOnAliasDeclaration()8853 Diag(OldTD->getLocation(), diag::note_previous_definition); in ActOnAliasDeclaration()