Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDecl.cpp1962 auto *NewTag = New->getAnonDeclWithTypedefName(); in MergeTypedefNameDecl() local
1964 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() argument
11150 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 …]
DSemaTemplateInstantiateDecl.cpp3582 TagDecl *NewTag = NewVar->getType()->castAs<TagType>()->getDecl(); in BuildVariableInstantiation() local
3583 assert(!NewTag->hasNameForLinkage() && in BuildVariableInstantiation()
3584 !NewTag->hasDeclaratorForAnonDecl()); in BuildVariableInstantiation()
3585 NewTag->setDeclaratorForAnonDecl(NewVar); in BuildVariableInstantiation()
/external/clang/include/clang/Sema/
DSema.h1716 TagTypeKind NewTag, bool isDefinition,