[PATCH] D118511: Add a warning for not packing non-POD members in packed structs

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 7 15:02:46 PST 2022


dblaikie updated this revision to Diff 406626.
dblaikie added a comment.

Refactor the max/min/preferred alignment calculations.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118511

Files:
  clang/include/clang/Basic/DiagnosticASTKinds.td
  clang/include/clang/Basic/DiagnosticGroups.td
  clang/lib/AST/RecordLayoutBuilder.cpp
  clang/test/CodeGenCXX/warn-padded-packed.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118511.406626.patch
Type: text/x-patch
Size: 5691 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220207/47ec3375/attachment.bin>


More information about the cfe-commits mailing list