[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:35:45 PST 2023


chestnykh added a comment.

I've modified `handleIntIntBinOp` so now it emits message about bad shift value.
`DiagnoseBadShiftValues` changes are also needed because `handleIntIntBinOp` cant properly cover for example the case we are not in c++11 mode.


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

https://reviews.llvm.org/D141192



More information about the cfe-commits mailing list