[llvm] [EquivClasses] Introduce members iterator-helper (PR #130139)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 7 09:42:11 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-nvptx64-nvidia-win` running on `as-builder-8` while building `llvm` at step 7 "test-build-unified-tree-check-llvm".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/155/builds/7282
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
...
[178/763] Building RC object unittests\ExecutionEngine\CMakeFiles\ExecutionEngineTests.dir\__\__\resources\windows_version_resource.rc.res
[179/763] Linking CXX executable unittests\BinaryFormat\BinaryFormatTests.exe
[180/763] Linking CXX executable unittests\AsmParser\AsmParserTests.exe
[181/763] Building CXX object unittests\CodeGen\CMakeFiles\CodeGenTests.dir\ScalableVectorMVTsTest.cpp.obj
[182/763] Building CXX object unittests\DebugInfo\DWARF\CMakeFiles\DebugInfoDWARFTests.dir\DwarfUtils.cpp.obj
[183/763] Building CXX object unittests\DebugInfo\CodeView\CMakeFiles\DebugInfoCodeViewTests.dir\GUIDFormatTest.cpp.obj
[184/763] Building CXX object unittests\DebugInfo\LogicalView\CMakeFiles\DebugInfoLogicalViewTests.dir\__\DWARF\DwarfUtils.cpp.obj
[185/763] Building CXX object unittests\DebugInfo\LogicalView\CMakeFiles\DebugInfoLogicalViewTests.dir\StringPoolTest.cpp.obj
[186/763] Building RC object unittests\ExecutionEngine\JITLink\CMakeFiles\JITLinkTests.dir\__\__\__\resources\windows_version_resource.rc.res
[187/763] Building CXX object unittests\ADT\CMakeFiles\ADTTests.dir\EquivalenceClassesTest.cpp.obj
FAILED: unittests/ADT/CMakeFiles/ADTTests.dir/EquivalenceClassesTest.cpp.obj
C:\ninja\ccache.exe C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1443~1.348\bin\Hostx64\x64\cl.exe /nologo /TP -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\unittests\ADT -IC:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\unittests\ADT -IC:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\include -IC:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\include -IC:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\third-party\unittest\googletest\include -IC:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\third-party\unittest\googlemock\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2 -MD /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Founittests\ADT\CMakeFiles\ADTTests.dir\EquivalenceClassesTest.cpp.obj /Fdunittests\ADT\CMakeFiles\ADTTests.dir\ /FS -c C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\unittests\ADT\EquivalenceClassesTest.cpp
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\third-party\unittest\googlemock\include\gmock/gmock-more-matchers.h(73): error C2039: 'size': is not a member of 'llvm::iterator_range<llvm::EquivalenceClasses<int,std::less<int>>::member_iterator>'
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\include\llvm/ADT/iterator_range.h(42): note: see declaration of 'llvm::iterator_range<llvm::EquivalenceClasses<int,std::less<int>>::member_iterator>'
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\third-party\unittest\googlemock\include\gmock/gmock-more-matchers.h(73): note: the template instantiation context (the oldest one first) is
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\unittests\ADT\EquivalenceClassesTest.cpp(80): note: see reference to function template instantiation 'testing::AssertionResult testing::internal::PredicateFormatterFromMatcher<testing::PolymorphicMatcher<testing::internal::IsEmptyMatcher>>::operator ()<llvm::iterator_range<llvm::EquivalenceClasses<int,std::less<int>>::member_iterator>>(const char *,const T &) const' being compiled
with
[
T=llvm::iterator_range<llvm::EquivalenceClasses<int,std::less<int>>::member_iterator>
]
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\unittests\ADT\EquivalenceClassesTest.cpp(80): note: see the first reference to 'testing::internal::PredicateFormatterFromMatcher<testing::PolymorphicMatcher<testing::internal::IsEmptyMatcher>>::operator ()' in 'llvm::EquivalenceClassesTest_MembersIterator_Test::TestBody'
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\third-party\unittest\googlemock\include\gmock/gmock-matchers.h(1591): note: see reference to function template instantiation 'testing::Matcher<const llvm::iterator_range<llvm::EquivalenceClasses<int,std::less<int>>::member_iterator> &> testing::SafeMatcherCast<const llvm::iterator_range<llvm::EquivalenceClasses<int,std::less<int>>::member_iterator>&,M>(const M &)' being compiled
with
[
M=testing::PolymorphicMatcher<testing::internal::IsEmptyMatcher>
]
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\third-party\unittest\googlemock\include\gmock/gmock-matchers.h(522): note: see reference to function template instantiation 'testing::Matcher<const llvm::iterator_range<llvm::EquivalenceClasses<int,std::less<int>>::member_iterator> &> testing::MatcherCast<const llvm::iterator_range<llvm::EquivalenceClasses<int,std::less<int>>::member_iterator>&,M>(const M &)' being compiled
with
[
M=testing::PolymorphicMatcher<testing::internal::IsEmptyMatcher>
]
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\third-party\unittest\googlemock\include\gmock/gmock-matchers.h(515): note: see reference to class template instantiation 'testing::internal::MatcherCastImpl<const llvm::iterator_range<llvm::EquivalenceClasses<int,std::less<int>>::member_iterator> &,M>' being compiled
with
[
M=testing::PolymorphicMatcher<testing::internal::IsEmptyMatcher>
]
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\third-party\unittest\googlemock\include\gmock/gmock-matchers.h(341): note: while compiling class template member function 'testing::Matcher<const llvm::iterator_range<llvm::EquivalenceClasses<int,std::less<int>>::member_iterator> &> testing::internal::MatcherCastImpl<const llvm::iterator_range<llvm::EquivalenceClasses<int,std::less<int>>::member_iterator> &,M>::Cast(const M &)'
with
[
M=testing::PolymorphicMatcher<testing::internal::IsEmptyMatcher>
]
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\third-party\unittest\googlemock\include\gmock/gmock-matchers.h(515): note: see the first reference to 'testing::internal::MatcherCastImpl<const llvm::iterator_range<llvm::EquivalenceClasses<int,std::less<int>>::member_iterator> &,M>::Cast' in 'testing::MatcherCast'
with
[
M=testing::PolymorphicMatcher<testing::internal::IsEmptyMatcher>
]
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\third-party\unittest\googlemock\include\gmock/gmock-matchers.h(522): note: see the first reference to 'testing::MatcherCast' in 'testing::SafeMatcherCast'
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\third-party\unittest\googlemock\include\gmock/gmock-matchers.h(1591): note: see the first reference to 'testing::SafeMatcherCast' in 'testing::internal::PredicateFormatterFromMatcher<testing::PolymorphicMatcher<testing::internal::IsEmptyMatcher>>::operator ()'
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\unittests\ADT\EquivalenceClassesTest.cpp(80): note: see the first reference to 'testing::internal::PredicateFormatterFromMatcher<testing::PolymorphicMatcher<testing::internal::IsEmptyMatcher>>::operator ()' in 'llvm::EquivalenceClassesTest_MembersIterator_Test::TestBody'
```
</details>
https://github.com/llvm/llvm-project/pull/130139
More information about the llvm-commits
mailing list