Searched refs:NewTag (Results 1 – 3 of 3) sorted by relevance
1962 auto *NewTag = New->getAnonDeclWithTypedefName(); in MergeTypedefNameDecl() local1964 if (getLangOpts().CPlusPlus && OldTag && NewTag && in MergeTypedefNameDecl()1965 OldTag->getCanonicalDecl() != NewTag->getCanonicalDecl() && in MergeTypedefNameDecl()1978 Listener->RedefinedHiddenDefinition(Hidden, NewTag->getLocation()); in MergeTypedefNameDecl()11133 TagTypeKind NewTag, bool isDefinition, in isAcceptableTagRedeclaration() argument11150 if (!isDefinition || !isClassCompatTagKind(NewTag)) in isAcceptableTagRedeclaration()11151 if (OldTag == NewTag) in isAcceptableTagRedeclaration()11154 if (isClassCompatTagKind(OldTag) && isClassCompatTagKind(NewTag)) { in isAcceptableTagRedeclaration()11164 << getRedeclDiagFromTagKind(NewTag) << isTemplate << &Name in isAcceptableTagRedeclaration()11179 if (I->getTagKind() != NewTag) { in isAcceptableTagRedeclaration()[all …]
3582 TagDecl *NewTag = NewVar->getType()->castAs<TagType>()->getDecl(); in BuildVariableInstantiation() local3583 assert(!NewTag->hasNameForLinkage() && in BuildVariableInstantiation()3584 !NewTag->hasDeclaratorForAnonDecl()); in BuildVariableInstantiation()3585 NewTag->setDeclaratorForAnonDecl(NewVar); in BuildVariableInstantiation()
1716 TagTypeKind NewTag, bool isDefinition,