[PATCH] D149182: Remove -Wpacked false positive for non-pod types where the layout isn't directly changed

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 4 13:34:08 PDT 2023


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LGTM aside from a nit with the release notes. Thank you for the fix!



================
Comment at: clang/docs/ReleaseNotes.rst:109-113
+Warnings
+^^^^^^^^
+- Address a false positive in ``-Wpacked`` when applied to a non-pod type using
+  Clang ABI >= 15 (fixes `#62353<https://github.com/llvm/llvm-project/issues/62353>`_,
+  fallout from the non-POD packing ABI fix in LLVM 15)
----------------
I think this should move down to `Improvements to Clang's diagnostics` instead of adding a new category for it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149182/new/

https://reviews.llvm.org/D149182



More information about the cfe-commits mailing list