[libcxx-commits] [clang] [libcxx] [Clang] Implement resolution for CWG1835 (PR #92957)

LLVM Continuous Integration via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 9 16:35:00 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `ppc64le-lld-multistage-test` running on `ppc64le-lld-multistage-test` while building `clang,libcxx` at step 12 "build-stage2-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/168/builds/862

Here is the relevant piece of the build log for the reference:
```
Step 12 (build-stage2-unified-tree) failure: build (failure)
...
0.387 [5813/305/51] Generating ../../../../share/scan-view/startfile.py
0.417 [5813/304/52] Creating export file for BugpointPasses
0.418 [5813/303/53] Creating export file for Remarks
0.422 [5813/302/54] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regerror.c.o
0.501 [5813/301/55] Building C object utils/count/CMakeFiles/count.dir/count.c.o
1.233 [5813/300/56] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MathExtras.cpp.o
1.250 [5813/299/57] Building CXX object unittests/Support/DynamicLibrary/CMakeFiles/DynamicLibraryLib.dir/ExportedFuncs.cpp.o
1.277 [5812/299/58] Linking CXX static library lib/libDynamicLibraryLib.a
1.472 [5812/298/59] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/check.cc.o
1.504 [5812/297/60] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SHA1.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/SHA1.cpp.o 
ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/install/stage1/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/lib/Support -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/lib/Support -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Werror=global-constructors -O3 -DNDEBUG -std=c++17 -UNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/SHA1.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/SHA1.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/SHA1.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/lib/Support/SHA1.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/lib/Support/SHA1.cpp:18:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:463:13: error: use 'template' keyword to treat 'MutableArrayRef' as a dependent template name [-Werror]
  463 |       this->MutableArrayRef<T>::operator=(Other);
      |             ^
      |             template 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:464:13: error: use 'template' keyword to treat 'MutableArrayRef' as a dependent template name [-Werror]
  464 |       Other.MutableArrayRef<T>::operator=(MutableArrayRef<T>());
      |             ^
      |             template 
2 errors generated.
1.549 [5812/296/61] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FormattedStream.cpp.o
1.599 [5812/295/62] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/Line.cpp.o
1.604 [5812/294/63] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Errno.cpp.o
1.692 [5812/293/64] Building C object lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3.c.o
1.710 [5812/292/65] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o
1.749 [5812/291/66] Building CXX object unittests/Support/DynamicLibrary/CMakeFiles/PipSqueak.dir/PipSqueak.cpp.o
1.782 [5812/290/67] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/UnicodeNameToCodepointGenerated.cpp.o
1.805 [5812/289/68] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/Demangle.cpp.o
1.826 [5812/288/69] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BuryPointer.cpp.o
1.856 [5812/287/70] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/UnicodeNameToCodepoint.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/UnicodeNameToCodepoint.cpp.o 
ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/install/stage1/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/lib/Support -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/lib/Support -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Werror=global-constructors -O3 -DNDEBUG -std=c++17 -UNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/UnicodeNameToCodepoint.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/UnicodeNameToCodepoint.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/UnicodeNameToCodepoint.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/lib/Support/UnicodeNameToCodepoint.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/lib/Support/UnicodeNameToCodepoint.cpp:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/ADT/StringExtras.h:18:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:463:13: error: use 'template' keyword to treat 'MutableArrayRef' as a dependent template name [-Werror]
  463 |       this->MutableArrayRef<T>::operator=(Other);
      |             ^
      |             template 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:464:13: error: use 'template' keyword to treat 'MutableArrayRef' as a dependent template name [-Werror]
  464 |       Other.MutableArrayRef<T>::operator=(MutableArrayRef<T>());
      |             ^
      |             template 
2 errors generated.
1.919 [5812/286/71] Building CXX object unittests/Support/DynamicLibrary/CMakeFiles/SecondLib.dir/PipSqueak.cpp.o
2.015 [5812/285/72] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTF.cpp.o
2.034 [5812/284/73] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/colorprint.cc.o
2.275 [5812/283/74] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/counter.cc.o

```

https://github.com/llvm/llvm-project/pull/92957


More information about the libcxx-commits mailing list