[libcxx-commits] [libcxx] [Clang] Fix missing diagnostic for non-standard layout type in `offsetof` (PR #65246)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 28 07:14:22 PDT 2023
================
@@ -47,7 +47,11 @@ struct __libcpp_datasizeof {
};
#endif
----------------
phyBrackets wrote:
Optional : Can you add a brief comment/note that why warnings are suppressed here?
Mb something like :
```
// Disable warnings related to the use of `offsetof` on non-standard layout types
// TODO : Find a way to replace offsetof ?
```
https://github.com/llvm/llvm-project/pull/65246
More information about the libcxx-commits
mailing list