Home
last modified time | relevance | path

Searched refs:NewTD (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Sema/
DSemaDecl.cpp3760 TypedefNameDecl *NewTD) { in setTagNameForLinkagePurposes() argument
3772 if (!Context.hasSameType(NewTD->getUnderlyingType(), in setTagNameForLinkagePurposes()
3775 Context.addTypedefNameForUnnamedTagDecl(TagFromDeclSpec, NewTD); in setTagNameForLinkagePurposes()
3786 Diag(NewTD->getLocation(), diag::err_typedef_changes_linkage); in setTagNameForLinkagePurposes()
3793 textToInsert += NewTD->getIdentifier()->getName(); in setTagNameForLinkagePurposes()
3800 TagFromDeclSpec->setTypedefNameForAnonDecl(NewTD); in setTagNameForLinkagePurposes()
5339 TypedefDecl *NewTD = ParseTypedefDecl(S, D, TInfo->getType(), TInfo); in ActOnTypedefDeclarator() local
5340 if (!NewTD) return nullptr; in ActOnTypedefDeclarator()
5343 ProcessDeclAttributes(S, NewTD, D); in ActOnTypedefDeclarator()
5345 CheckTypedefForVariablyModifiedType(S, NewTD); in ActOnTypedefDeclarator()
[all …]
DSemaDeclCXX.cpp8785 TypeAliasDecl *NewTD = TypeAliasDecl::Create(Context, CurContext, UsingLoc, in ActOnAliasDeclaration() local
8789 NewTD->setAccess(AS); in ActOnAliasDeclaration()
8792 NewTD->setInvalidDecl(); in ActOnAliasDeclaration()
8794 ProcessDeclAttributeList(S, NewTD, AttrList); in ActOnAliasDeclaration()
8796 CheckTypedefForVariablyModifiedType(S, NewTD); in ActOnAliasDeclaration()
8797 Invalid |= NewTD->isInvalidDecl(); in ActOnAliasDeclaration()
8847 NewTD->getUnderlyingType())) { in ActOnAliasDeclaration()
8850 Diag(NewTD->getLocation(), diag::err_redefinition_different_typedef) in ActOnAliasDeclaration()
8851 << 2 << NewTD->getUnderlyingType() << OldTD->getUnderlyingType(); in ActOnAliasDeclaration()
8868 NewTD); in ActOnAliasDeclaration()
[all …]
DSemaTemplateInstantiate.cpp720 if (auto *NewTD = NewMD->getDescribedFunctionTemplate()) in transformedLocalDecl() local
721 NewTD->setInstantiatedFromMemberTemplate( in transformedLocalDecl()
/external/clang/include/clang/Sema/
DSema.h1704 TypedefNameDecl *NewTD);