Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDecl.cpp3488 TypedefNameDecl *NewTD) { in setTagNameForLinkagePurposes() argument
3500 if (!Context.hasSameType(NewTD->getUnderlyingType(), in setTagNameForLinkagePurposes()
3511 Diag(NewTD->getLocation(), diag::err_typedef_changes_linkage); in setTagNameForLinkagePurposes()
3518 textToInsert += NewTD->getIdentifier()->getName(); in setTagNameForLinkagePurposes()
3525 TagFromDeclSpec->setTypedefNameForAnonDecl(NewTD); in setTagNameForLinkagePurposes()
5006 TypedefDecl *NewTD = ParseTypedefDecl(S, D, TInfo->getType(), TInfo); in ActOnTypedefDeclarator() local
5007 if (!NewTD) return nullptr; in ActOnTypedefDeclarator()
5010 ProcessDeclAttributes(S, NewTD, D); in ActOnTypedefDeclarator()
5012 CheckTypedefForVariablyModifiedType(S, NewTD); in ActOnTypedefDeclarator()
5015 NamedDecl *ND = ActOnTypedefNameDecl(S, DC, NewTD, Previous, Redeclaration); in ActOnTypedefDeclarator()
[all …]
DSemaDeclCXX.cpp8529 TypeAliasDecl *NewTD = TypeAliasDecl::Create(Context, CurContext, UsingLoc, in ActOnAliasDeclaration() local
8533 NewTD->setAccess(AS); in ActOnAliasDeclaration()
8536 NewTD->setInvalidDecl(); in ActOnAliasDeclaration()
8538 ProcessDeclAttributeList(S, NewTD, AttrList); in ActOnAliasDeclaration()
8540 CheckTypedefForVariablyModifiedType(S, NewTD); in ActOnAliasDeclaration()
8541 Invalid |= NewTD->isInvalidDecl(); in ActOnAliasDeclaration()
8587 NewTD->getUnderlyingType())) { in ActOnAliasDeclaration()
8590 Diag(NewTD->getLocation(), diag::err_redefinition_different_typedef) in ActOnAliasDeclaration()
8591 << 2 << NewTD->getUnderlyingType() << OldTD->getUnderlyingType(); in ActOnAliasDeclaration()
8608 NewTD); in ActOnAliasDeclaration()
[all …]
/external/clang/include/clang/Sema/
DSema.h1521 TypedefNameDecl *NewTD);