aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectCommands.cpp
diff options
context:
space:
mode:
authorPavel Kopyl <pavelkopyl@gmail.com>2023-02-10 23:36:24 +0100
committerPavel Kopyl <pavelkopyl@gmail.com>2023-02-14 22:16:19 +0100
commit36606cf07080a44a1a9157f80112f9512bd6a3bf (patch)
tree516934053dadeeeb876ceb0c5cc04f5f4fe4704c /lldb/source/Commands/CommandObjectCommands.cpp
parent31c35285d27ed507ae758aefdca0d9cd05c7f21d (diff)
downloadllvm-36606cf07080a44a1a9157f80112f9512bd6a3bf.zip
llvm-36606cf07080a44a1a9157f80112f9512bd6a3bf.tar.gz
llvm-36606cf07080a44a1a9157f80112f9512bd6a3bf.tar.bz2
[NFC] Replace -1U{LL} expressions with appropriate *_MAX macros in Support library.
This makes a code a bit more clear and also gets rid of C4146 warning on MSVC compiler: 'unary minus operator applied to unsigned type, result still unsigned'. In case uint64_t variable is initialized or compared against -1U expression, which corresponds to 32-bit constant, UINT_MAX macro is used to preserve NFC semantics; -1ULL is replaced with UINT64_MAX. Reviewed By: dblaikie, craig.topper Differential Revision: https://reviews.llvm.org/D143942
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions