aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
diff options
context:
space:
mode:
authorJie Fu <jiefu@tencent.com>2024-09-12 11:57:29 +0800
committerJie Fu <jiefu@tencent.com>2024-09-12 11:57:29 +0800
commitb7167c784486581dad3f3188232951b79c6d0fd9 (patch)
tree390141d7543beaf558df5d7460f614b9f4f8681c /lldb/packages/Python/lldbsuite/test/gdbclientutils.py
parentded080152acceca5d68014d63f5027a6d8266cbb (diff)
downloadllvm-b7167c784486581dad3f3188232951b79c6d0fd9.zip
llvm-b7167c784486581dad3f3188232951b79c6d0fd9.tar.gz
llvm-b7167c784486581dad3f3188232951b79c6d0fd9.tar.bz2
[mlir] Fix incorrect comparison due to -Wtautological-constant-out-of-range-compare (NFC)
/llvm-project/mlir/include/mlir/Analysis/Presburger/Utils.h:320:26: error: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Werror,-Wtautological-constant-out-of-range-compare] preIndent = (preIndent != std::string::npos) ? preIndent + 1 : 0; ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ /llvm-project/mlir/include/mlir/Analysis/Presburger/Utils.h:335:28: error: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Werror,-Wtautological-constant-out-of-range-compare] preIndent = (preIndent != std::string::npos) ? preIndent + 1 : 0; ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ 2 errors generated.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions