[PATCH] D113145: Remove two sema checkings as assertions introduced by D79719.
Hubert Tong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 4 22:27:21 PDT 2021
hubert.reinterpretcast added a comment.
@ychen, an alternative fix would be to avoid getting asking for the layout for a broken `union` like this. Would it be appropriate to mark the `RecordDecl` in Sema such that `isInvalidDecl` returns true? Is that already happening?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113145/new/
https://reviews.llvm.org/D113145
More information about the cfe-commits
mailing list