diff options
author | Vedant Kumar <vsk@apple.com> | 2020-02-27 14:19:42 -0800 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2020-02-27 14:19:45 -0800 |
commit | 36789388d01fc4a24088f214145414a043582671 (patch) | |
tree | 1e155225341dcf17a6842d133dfff19ab1e59f63 /llvm/unittests/Support/MathExtrasTest.cpp | |
parent | 20f508efc0122173980fc9607ccd694938ddf79f (diff) | |
download | llvm-36789388d01fc4a24088f214145414a043582671.zip llvm-36789388d01fc4a24088f214145414a043582671.tar.gz llvm-36789388d01fc4a24088f214145414a043582671.tar.bz2 |
unittest: Convert EXPECT_EQ iterator checks to use EXPECT_TRUE instead
Hopefully fixes compile errors on some bots, like:
http://lab.llvm.org:8011/builders/clang-cmake-x86_64-avx2-linux/builds/13383/steps/ninja%20check%201/logs/stdio
/home/ssglocal/clang-cmake-x86_64-avx2-linux/clang-cmake-x86_64-avx2-linux/llvm/llvm/unittests/ADT/CoalescingBitVectorTest.cpp:452:3: required from here
/home/ssglocal/clang-cmake-x86_64-avx2-linux/clang-cmake-x86_64-avx2-linux/llvm/llvm/utils/unittest/googletest/include/gtest/gtest-printers.h:377:56: error: ‘const class llvm::CoalescingBitVector<long unsigned int>::const_iterator’ has no member named ‘begin’
for (typename C::const_iterator it = container.begin();
^
/home/ssglocal/clang-cmake-x86_64-avx2-linux/clang-cmake-x86_64-avx2-linux/llvm/llvm/utils/unittest/googletest/include/gtest/gtest-printers.h:378:11: error: ‘const class llvm::CoalescingBitVector<long unsigned int>::const_iterator’ has no member named ‘end’
it != container.end(); ++it, ++count) {
^
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions