[PATCH] D131255: Fix Wbitfield-constant-conversion on 1-bit signed bitfield
Shawn Zhong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 5 21:36:43 PDT 2022
ShawnZhong updated this revision to Diff 450468.
ShawnZhong added a comment.
- Added CodeGen tests.
- Fixed failed tests that assigned 1 to `int:1`.
- Modified the Sema test to use `int:` instead of `signed char:1`.
- Added release note.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131255/new/
https://reviews.llvm.org/D131255
Files:
clang/docs/ReleaseNotes.rst
clang/lib/Sema/SemaChecking.cpp
clang/test/CXX/class/class.bit/p1.cpp
clang/test/CXX/drs/dr6xx.cpp
clang/test/CodeGen/bitfield.c
clang/test/CodeGenCXX/bitfield-layout.cpp
clang/test/Rewriter/rewrite-modern-struct-ivar-1.mm
clang/test/Rewriter/rewrite-modern-struct-ivar.mm
clang/test/Sema/constant-conversion.c
clang/test/SemaCXX/constant-expression-cxx11.cpp
clang/test/SemaCXX/cxx1z-decomposition.cpp
clang/test/SemaCXX/decomposition-blocks.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131255.450468.patch
Type: text/x-patch
Size: 7607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220806/b28e9f7e/attachment-0001.bin>
More information about the cfe-commits
mailing list