[all-commits] [llvm/llvm-project] 367893: unittest: Convert EXPECT_EQ iterator checks to use...
Vedant Kumar via All-commits
all-commits at lists.llvm.org
Thu Feb 27 14:20:31 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 36789388d01fc4a24088f214145414a043582671
https://github.com/llvm/llvm-project/commit/36789388d01fc4a24088f214145414a043582671
Author: Vedant Kumar <vsk at apple.com>
Date: 2020-02-27 (Thu, 27 Feb 2020)
Changed paths:
M llvm/unittests/ADT/CoalescingBitVectorTest.cpp
Log Message:
-----------
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) {
^
More information about the All-commits
mailing list