OSDN Git Service

[llvm-exegesis] Fix a warning in r332221
authorClement Courbet <courbet@google.com>
Mon, 14 May 2018 11:31:02 +0000 (11:31 +0000)
committerClement Courbet <courbet@google.com>
Mon, 14 May 2018 11:31:02 +0000 (11:31 +0000)
commita0b75d92d71847d31b3db67a8d9c439897442f44
tree2815f9fef96c188de965dfe2c6cba48f2e69f4c6
parent431f230ab6c9903c79a6db7c74ead725648d5f25
[llvm-exegesis] Fix a warning in r332221

comparison of integers of different signs: 'const unsigned long' and 'const int' [-Werror,-Wsign-compare]

unittests/tools/llvm-exegesis/BenchmarkResultTest.cpp:60:5: note: in instantiation of function template specialization 'testing::internal::EqHelper<false>::Compare<unsigned long, int>' requested here
    ASSERT_EQ(FromDiskVector.size(), 1);

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332230 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-exegesis/lib/Analysis.cpp
unittests/tools/llvm-exegesis/BenchmarkResultTest.cpp