[PATCH] D93101: [Clang][Codegen] Truncate initializers of union bitfield members

Tomas Matheson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 18 05:58:02 PST 2021


tmatheson updated this revision to Diff 317340.
tmatheson added a comment.

Make unions in test cases const, and clarify logic


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93101

Files:
  clang/lib/AST/ExprConstant.cpp
  clang/test/CodeGenCXX/bitfield-layout.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93101.317340.patch
Type: text/x-patch
Size: 3026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210118/b431fe69/attachment-0001.bin>


More information about the cfe-commits mailing list