Lines Matching refs:NewTD
8544 TypeAliasDecl *NewTD = TypeAliasDecl::Create(Context, CurContext, UsingLoc, in ActOnAliasDeclaration() local
8548 NewTD->setAccess(AS); in ActOnAliasDeclaration()
8551 NewTD->setInvalidDecl(); in ActOnAliasDeclaration()
8553 ProcessDeclAttributeList(S, NewTD, AttrList); in ActOnAliasDeclaration()
8555 CheckTypedefForVariablyModifiedType(S, NewTD); in ActOnAliasDeclaration()
8556 Invalid |= NewTD->isInvalidDecl(); in ActOnAliasDeclaration()
8602 NewTD->getUnderlyingType())) { in ActOnAliasDeclaration()
8605 Diag(NewTD->getLocation(), diag::err_redefinition_different_typedef) in ActOnAliasDeclaration()
8606 << 2 << NewTD->getUnderlyingType() << OldTD->getUnderlyingType(); in ActOnAliasDeclaration()
8623 NewTD); in ActOnAliasDeclaration()
8624 NewTD->setDescribedAliasTemplate(NewDecl); in ActOnAliasDeclaration()
8636 setTagNameForLinkagePurposes(TD, NewTD); in ActOnAliasDeclaration()
8639 ActOnTypedefNameDecl(S, CurContext, NewTD, Previous, Redeclaration); in ActOnAliasDeclaration()
8640 NewND = NewTD; in ActOnAliasDeclaration()