[PATCH] D130301: [Clang] Fix how we set the NumPositiveBits on an E numDecl to cover the case of single enumerator with value zero or an empty enum

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 25 15:44:52 PDT 2022


shafik updated this revision to Diff 447500.
shafik marked 5 inline comments as done.
shafik added a comment.

- Adding release note
- Fixing comments
- Removing top level const on local variable
- Adjusting test so checks go after the line they are checking


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

https://reviews.llvm.org/D130301

Files:
  clang/docs/ReleaseNotes.rst
  clang/lib/Sema/SemaDecl.cpp
  clang/test/CodeGenCXX/pr12251.cpp
  compiler-rt/test/ubsan/TestCases/Misc/enum.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130301.447500.patch
Type: text/x-patch
Size: 4925 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220725/84a481fe/attachment.bin>


More information about the cfe-commits mailing list