[PATCH] D141192: [Clang] Fix warnings on bad shifts.

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


chestnykh updated this revision to Diff 487174.
chestnykh retitled this revision from "[Clang] Add warnings on bad shifts inside enums." to "[Clang] Fix warnings on bad shifts.".

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.487174.patch
Type: text/x-patch
Size: 11803 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230108/3fb1820f/attachment.bin>


More information about the cfe-commits mailing list