[PATCH] D141192: [Clang] Add warnings on bad shifts inside enums.

Dmitriy Chestnykh via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 8 05:17:17 PST 2023


chestnykh updated this revision to Diff 487168.
chestnykh edited the summary of this revision.

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

https://reviews.llvm.org/D141192

Files:
  clang/lib/AST/ExprConstant.cpp
  clang/lib/Sema/SemaExpr.cpp
  clang/test/AST/Interp/shifts.cpp
  clang/test/C/drs/dr0xx.c
  clang/test/Sema/shift-count-negative.c
  clang/test/Sema/shift-count-overflow.c
  clang/test/Sema/shift-negative-value.c
  clang/test/Sema/vla-2.c
  clang/test/SemaCXX/cxx2a-explicit-bool.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141192.487168.patch
Type: text/x-patch
Size: 11800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230108/15007927/attachment-0001.bin>


More information about the cfe-commits mailing list