diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-03-11 19:38:22 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-03-11 19:38:22 +0000 |
commit | b3f72ea7c1448550bcb5bf2f6f2c173c8c6ad740 (patch) | |
tree | 1d2001e737701de10e83b6d64c97b5d011f8fd7f /llvm/unittests/ProfileData/CoverageMappingTest.cpp | |
parent | d511c2ce04ed70dc2247a5517451e5e6577c54f8 (diff) | |
download | bcm5719-llvm-b3f72ea7c1448550bcb5bf2f6f2c173c8c6ad740.tar.gz bcm5719-llvm-b3f72ea7c1448550bcb5bf2f6f2c173c8c6ad740.zip |
Fix signed/unsigned comparison warning
llvm-svn: 297565
Diffstat (limited to 'llvm/unittests/ProfileData/CoverageMappingTest.cpp')
-rw-r--r-- | llvm/unittests/ProfileData/CoverageMappingTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ProfileData/CoverageMappingTest.cpp b/llvm/unittests/ProfileData/CoverageMappingTest.cpp index 49eab4ad788..0783a23a67b 100644 --- a/llvm/unittests/ProfileData/CoverageMappingTest.cpp +++ b/llvm/unittests/ProfileData/CoverageMappingTest.cpp @@ -328,7 +328,7 @@ TEST_P(CoverageMappingTest, load_coverage_for_several_functions) { loadCoverageMapping(); const auto FunctionRecords = LoadedCoverage->getCoveredFunctions(); - EXPECT_EQ(2U, std::distance(FunctionRecords.begin(), FunctionRecords.end())); + EXPECT_EQ(2, std::distance(FunctionRecords.begin(), FunctionRecords.end())); for (const auto &FunctionRecord : FunctionRecords) { CoverageData Data = LoadedCoverage->getCoverageForFunction(FunctionRecord); std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); |