[all-commits] [llvm/llvm-project] a33075: [lldb] Fix -Wsign-compare in TestSectionSize.cpp (...

Jie Fu via All-commits all-commits at lists.llvm.org
Fri Aug 4 17:35:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a330759d6e4b7b241b70092e3dd1d0e237ad2a8a
      https://github.com/llvm/llvm-project/commit/a330759d6e4b7b241b70092e3dd1d0e237ad2a8a
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-08-05 (Sat, 05 Aug 2023)

  Changed paths:
    M lldb/unittests/ObjectFile/PECOFF/TestSectionSize.cpp

  Log Message:
  -----------
  [lldb] Fix -Wsign-compare in TestSectionSize.cpp (NFC)

In file included from /data/workspace/llvm-project/lldb/unittests/ObjectFile/PECOFF/TestSectionSize.cpp:10:
/data/workspace/llvm-project/third-party/unittest/googletest/include/gtest/gtest.h:1620:28: error: comparison of integers of different signs: 'c
onst unsigned long' and 'const int' [-Werror,-Wsign-compare]
GTEST_IMPL_CMP_HELPER_(NE, !=);
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~




More information about the All-commits mailing list