mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
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,7 +10296,8 @@ void Sema::ActOnTagFinishDefinition(Scope *S, Decl *TagD,
|
||||
Tag->setTopLevelDeclInObjCContainer();
|
||||
|
||||
// Notify the consumer that we've defined a tag.
|
||||
Consumer.HandleTagDeclDefinition(Tag);
|
||||
if (!Tag->isInvalidDecl())
|
||||
Consumer.HandleTagDeclDefinition(Tag);
|
||||
}
|
||||
|
||||
void Sema::ActOnObjCContainerFinishDefinition() {
|
||||
|
Loading…
Reference in New Issue
Block a user