Searched defs:NewTD (Results 1 - 2 of 2) sorted by relevance

/external/clang/lib/Sema/
H A DSemaDecl.cpp3645 TypedefNameDecl *NewTD) {
3657 if (!Context.hasSameType(NewTD->getUnderlyingType(),
3660 Context.addTypedefNameForUnnamedTagDecl(TagFromDeclSpec, NewTD);
3671 Diag(NewTD->getLocation(), diag::err_typedef_changes_linkage);
3678 textToInsert += NewTD->getIdentifier()->getName();
3685 TagFromDeclSpec->setTypedefNameForAnonDecl(NewTD);
5205 TypedefDecl *NewTD = ParseTypedefDecl(S, D, TInfo->getType(), TInfo); local
5206 if (!NewTD) return nullptr;
5209 ProcessDeclAttributes(S, NewTD, D);
5211 CheckTypedefForVariablyModifiedType(S, NewTD);
3644 setTagNameForLinkagePurposes(TagDecl *TagFromDeclSpec, TypedefNameDecl *NewTD) argument
5220 CheckTypedefForVariablyModifiedType(Scope *S, TypedefNameDecl *NewTD) argument
5261 ActOnTypedefNameDecl(Scope *S, DeclContext *DC, TypedefNameDecl *NewTD, LookupResult &Previous, bool &Redeclaration) argument
11524 TypedefDecl *NewTD = TypedefDecl::Create(Context, CurContext, local
[all...]
H A DSemaDeclCXX.cpp8544 TypeAliasDecl *NewTD = TypeAliasDecl::Create(Context, CurContext, UsingLoc, local
8548 NewTD->setAccess(AS);
8551 NewTD->setInvalidDecl();
8553 ProcessDeclAttributeList(S, NewTD, AttrList);
8555 CheckTypedefForVariablyModifiedType(S, NewTD);
8556 Invalid |= NewTD->isInvalidDecl();
8602 NewTD->getUnderlyingType())) {
8605 Diag(NewTD->getLocation(), diag::err_redefinition_different_typedef)
8606 << 2 << NewTD->getUnderlyingType() << OldTD->getUnderlyingType();
8623 NewTD);
[all...]

Completed in 54 milliseconds