aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorOleksandr T. <oleksandr.tarasiuk@outlook.com>2025-03-07 01:05:56 +0200
committerGitHub <noreply@github.com>2025-03-07 01:05:56 +0200
commit93f0f3d33be596321730e9194cf24a73a75ce702 (patch)
tree5a6ed7fe807898946627d8313a9a33d56fb342eb /llvm/lib/Transforms/Utils/Local.cpp
parent29d3fc3f11d272a72ac255af9277c740f26c3dfc (diff)
downloadllvm-93f0f3d33be596321730e9194cf24a73a75ce702.zip
llvm-93f0f3d33be596321730e9194cf24a73a75ce702.tar.gz
llvm-93f0f3d33be596321730e9194cf24a73a75ce702.tar.bz2
[Clang] add -Wshift-bool warning to handle shifting of bool (#127336)
Fixes #28334 --- This PR introduces the `-Wshift-bool` warning to detect and warn against shifting `bool` values using the `>>` operator. Shifting a `bool` implicitly converts it to an `int`, which can lead to unintended behavior.
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions