Pull in r185446 from clang trunk:
Fix to PR15826 - clang hits assert in clang::ASTContext::getASTRecordLayout. Reported by: glebius
This commit is contained in:
parent
9ce127ad76
commit
0cf157db98
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252587
@ -10296,6 +10296,7 @@ void Sema::ActOnTagFinishDefinition(Scope *S, Decl *TagD,
|
||||
Tag->setTopLevelDeclInObjCContainer();
|
||||
|
||||
// Notify the consumer that we've defined a tag.
|
||||
if (!Tag->isInvalidDecl())
|
||||
Consumer.HandleTagDeclDefinition(Tag);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user