[all-commits] [llvm/llvm-project] e3fc6b: [lldb][NFC] Fix unsigned/signed comparison warning...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Thu Mar 12 07:31:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e3fc6b3c346f583adbdb38b0935cc73439aaad99
      https://github.com/llvm/llvm-project/commit/e3fc6b3c346f583adbdb38b0935cc73439aaad99
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-03-12 (Thu, 12 Mar 2020)

  Changed paths:
    M lldb/unittests/SymbolFile/DWARF/SymbolFileDWARFTests.cpp

  Log Message:
  -----------
  [lldb][NFC] Fix unsigned/signed comparison warning in SymbolFileDWARFTest.cpp

offset_t is unsigned, so if the RHS is signed we get a warning from clang:
    warning: comparison of integers of different signs: 'const unsigned long long' and 'const int'




More information about the All-commits mailing list