[Clang] Fix missing diagnostic for non-standard layout type in `offsetof` (#65246)
Fixes #64619 Clang warns diagnostic for non-standard layout types in `offsetof` only if they are in evaluated context. With this patch, you'll also get diagnostic if you use `offsetof` on non-standard layout types in any other contexts
Loading
Please sign in to comment