parent
b6d051c4f0
commit
cae82a205e
|
@ -3202,8 +3202,10 @@ TagDecl *TagDecl::getCanonicalDecl() { return getFirstDecl(); }
|
|||
|
||||
void TagDecl::setTypedefNameForAnonDecl(TypedefNameDecl *TDD) {
|
||||
NamedDeclOrQualifier = TDD;
|
||||
if (const Type *T = getTypeForDecl())
|
||||
if (const Type *T = getTypeForDecl()) {
|
||||
(void)T;
|
||||
assert(T->isLinkageValid());
|
||||
}
|
||||
assert(isLinkageValid());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue