aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Debugify.cpp
diff options
context:
space:
mode:
authorVladislav Vinogradov <vlad.vinogradov47@gmail.com>2021-01-15 14:32:38 -0800
committerDavid Blaikie <dblaikie@gmail.com>2021-01-15 14:34:14 -0800
commit76f5c5a7b059929f0e0352ad4ff5ec1b78511868 (patch)
tree6063da269a540c28c095a44b4bcecb679d89d325 /llvm/lib/Transforms/Utils/Debugify.cpp
parentaa8a2d8a3da3704f82ba4ea3a6e7b463737597e1 (diff)
downloadllvm-76f5c5a7b059929f0e0352ad4ff5ec1b78511868.zip
llvm-76f5c5a7b059929f0e0352ad4ff5ec1b78511868.tar.gz
llvm-76f5c5a7b059929f0e0352ad4ff5ec1b78511868.tar.bz2
[ADT][Support] Fix C4146 error from MSVC
Unary minus operator applied to unsigned type, result still unsigned. Use `~0U` instead of `-1U` and `1 + ~VAL` instead of `-VAL`. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D94417
Diffstat (limited to 'llvm/lib/Transforms/Utils/Debugify.cpp')
0 files changed, 0 insertions, 0 deletions