[all-commits] [llvm/llvm-project] a2e7f2: [llvm-profdata] Fix mixed-sign comparison warnings

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri Jun 23 15:21:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2e7f26160359ed3913badb5acdd05aa8c663b46
      https://github.com/llvm/llvm-project/commit/a2e7f26160359ed3913badb5acdd05aa8c663b46
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-06-23 (Fri, 23 Jun 2023)

  Changed paths:
    M llvm/unittests/tools/llvm-profdata/MD5CollisionTest.cpp

  Log Message:
  -----------
  [llvm-profdata] Fix mixed-sign comparison warnings

This patch fixes -Wsign-compare warnings from:

  llvm/unittests/tools/llvm-profdata/MD5CollisionTest.cpp:117:3: note:
  in instantiation of function template specialization
  'testing::internal::EqHelper::Compare<unsigned long, int, nullptr>'
  requested here

  llvm/unittests/tools/llvm-profdata/MD5CollisionTest.cpp:134:3: note:
  in instantiation of function template specialization
  'testing::internal::EqHelper::Compare<unsigned int, int, nullptr>'
  requested here

  llvm/unittests/tools/llvm-profdata/MD5CollisionTest.cpp:144:3: note:
  in instantiation of function template specialization
  'testing::internal::EqHelper::Compare<unsigned int, int, nullptr>'
  requested here

  llvm/unittests/tools/llvm-profdata/MD5CollisionTest.cpp:160:3: note:
  in instantiation of function template specialization
  'testing::internal::EqHelper::Compare<unsigned int, int, nullptr>'
  requested here




More information about the All-commits mailing list