[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
sdkrystian wrote: @zyn0217 Sorry, I've not had time to work on this recently. I have a branch ready which _should_ address the issues encountered thus far, but I haven't fully tested it yet. I should have time after the weekend. https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
zyn0217 wrote: @sdkrystian Friendly ping. Any chance for you to reapply this patch recently? thanks https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux` running on `premerge-linux-1` while building `clang` at step 7 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/153/builds/13862 Here is the relevant piece of the build log for the reference ``` Step 7 (test-build-unified-tree-check-all) failure: test (failure) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /build/buildbot/premerge-monolithic-linux/build/bin/clang -cc1 -internal-isystem /build/buildbot/premerge-monolithic-linux/build/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp + /build/buildbot/premerge-monolithic-linux/build/bin/clang -cc1 -internal-isystem /build/buildbot/premerge-monolithic-linux/build/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp error: 'expected-error' diagnostics seen but not expected: File /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' File /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' error: 'expected-note' diagnostics seen but not expected: File /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: expression evaluates to '3 == 4' File /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: expression evaluates to '3 == 4' 4 errors generated. -- ``` https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-x86_64-debian-fast` running on `gribozavr4` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/56/builds/11565 Here is the relevant piece of the build log for the reference ``` Step 6 (test-build-unified-tree-check-all) failure: test (failure) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -cc1 -internal-isystem /b/1/clang-x86_64-debian-fast/llvm.obj/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp + /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -cc1 -internal-isystem /b/1/clang-x86_64-debian-fast/llvm.obj/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp error: 'expected-error' diagnostics seen but not expected: File /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' File /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' error: 'expected-note' diagnostics seen but not expected: File /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: expression evaluates to '3 == 4' File /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: expression evaluates to '3 == 4' 4 errors generated. -- ``` https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on `hpce-ve-main` while building `clang` at step 4 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/12/builds/9043 Here is the relevant piece of the build log for the reference ``` Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py ...' (failure) ... [295/301] Building CXX object tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterTest.cpp.o [296/301] Building CXX object tools/clang/unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersTraversalTest.cpp.o [297/301] Linking CXX executable tools/clang/unittests/AST/ASTTests [298/301] Linking CXX executable tools/clang/unittests/ASTMatchers/ASTMatchersTests [299/301] Building CXX object tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/SourceCodeTest.cpp.o [300/301] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests [300/301] Running the Clang regression tests -- Testing: 21251 tests, 48 workers -- llvm-lit: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang Testing: 0.. FAIL: Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp (2324 of 21251) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp + /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp error: 'expected-error' diagnostics seen but not expected: File /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' File /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' error: 'expected-note' diagnostics seen but not expected: File /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: expression evaluates to '3 == 4' File /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: expression evaluates to '3 == 4' 4 errors generated. -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Failed Tests (1): Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Testing Time: 50.05s Total Discovered Tests: 45566 Skipped :10 (0.02%) Unsupported : 3798 (8.34%) Passed : 41731 (91.58%) Expectedly Failed:26 (0.06%) Failed : 1 (0.00%) FAILED: tools/clang/test/CMakeFiles/check-clang /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/tools/clang/test/CMakeFiles/check-clang cd /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/tools/clang/test && /home/buildbot/sandbox/bin/python3 /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/./bin/llvm-lit -sv --param USE_Z3_SOLVER=0 /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/tools/clang/test ninja: build stopped: subcommand failed. make: *** [check-llvm] Error 1 ['make', '-f', '/scratch/buildbot/bothome/clang-ve-ninja/llvm-zorg/zorg/buildbot/builders/annotated/ve-linux-steps.make', 'check-llvm', 'BUILDROOT=/scratch/buildbot/bothome/clang-ve-ninja/build'] exited with return code 2. The build step threw an exception... Step 8 (check-llvm) failure: check-llvm (failure) ... [295/301] Building CXX object tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterTest.cpp.o [296/301] Building CXX object tools/clang/unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersTraversalTest.cpp.o [297/301] Linking CXX executable tools/clang/unittests/AST/ASTTests [298/301] Linking CXX executable tools/clang/unittests/ASTMatchers/ASTMatchersTests [299/301] Building CXX object tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/SourceCodeTest.cpp
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-m68k-linux-cross` running on `suse-gary-m68k-cross` while building `clang` at step 5 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/27/builds/1614 Here is the relevant piece of the build log for the reference ``` Step 5 (ninja check 1) failure: stage 1 checked (failure) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/clang -cc1 -internal-isystem /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp + /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/clang -cc1 -internal-isystem /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp error: 'expected-error' diagnostics seen but not expected: File /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' File /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' error: 'expected-note' diagnostics seen but not expected: File /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: expression evaluates to '3 == 4' File /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: expression evaluates to '3 == 4' 4 errors generated. -- ``` https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-x86_64-debian-dylib` running on `gribozavr4` while building `clang` at step 6 "test-build-unified-tree-check-clang". Full details are available at: https://lab.llvm.org/buildbot/#/builders/60/builds/12011 Here is the relevant piece of the build log for the reference ``` Step 6 (test-build-unified-tree-check-clang) failure: test (failure) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 -internal-isystem /b/1/llvm-x86_64-debian-dylib/build/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp + /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 -internal-isystem /b/1/llvm-x86_64-debian-dylib/build/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp error: 'expected-error' diagnostics seen but not expected: File /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' File /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' error: 'expected-note' diagnostics seen but not expected: File /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: expression evaluates to '3 == 4' File /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: expression evaluates to '3 == 4' 4 errors generated. -- ``` https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
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` at step 7 "test-build-stage1-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/168/builds/5204 Here is the relevant piece of the build log for the reference ``` Step 7 (test-build-stage1-unified-tree-check-all) failure: test (failure) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp + /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp error: 'expected-error' diagnostics seen but not expected: File /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' File /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' error: 'expected-note' diagnostics seen but not expected: File /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: expression evaluates to '3 == 4' File /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: expression evaluates to '3 == 4' 4 errors generated. -- Step 13 (test-build-stage2-unified-tree-check-all) failure: test (failure) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp + /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp error: 'expected-error' diagnostics seen but not expected: File /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' File /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' error: 'expected-note' diagnostics seen but not expected: File /home/buildbots/llvm-external-buildbo
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building `clang` at step 7 "Add check check-clang". Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/8129 Here is the relevant piece of the build log for the reference ``` Step 7 (Add check check-clang) failure: test (failure) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/clang -cc1 -internal-isystem /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp + /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/clang -cc1 -internal-isystem /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp error: 'expected-error' diagnostics seen but not expected: File /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' File /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' error: 'expected-note' diagnostics seen but not expected: File /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: expression evaluates to '3 == 4' File /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: expression evaluates to '3 == 4' 4 errors generated. -- ``` https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-5` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/8949 Here is the relevant piece of the build log for the reference ``` Step 6 (test-build-unified-tree-check-all) failure: test (failure) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp + /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp error: 'expected-error' diagnostics seen but not expected: File /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' File /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' error: 'expected-note' diagnostics seen but not expected: File /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: expression evaluates to '3 == 4' File /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: expression evaluates to '3 == 4' 4 errors generated. -- ``` https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running on `linaro-clang-armv8-quick` while building `clang` at step 5 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/154/builds/7048 Here is the relevant piece of the build log for the reference ``` Step 5 (ninja check 1) failure: stage 1 checked (failure) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp + /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp error: 'expected-error' diagnostics seen but not expected: File /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' File /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' error: 'expected-note' diagnostics seen but not expected: File /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: expression evaluates to '3 == 4' File /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: expression evaluates to '3 == 4' 4 errors generated. -- ``` https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-aarch64-quick` running on `linaro-clang-aarch64-quick` while building `clang` at step 5 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/65/builds/7323 Here is the relevant piece of the build log for the reference ``` Step 5 (ninja check 1) failure: stage 1 checked (failure) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp + /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp error: 'expected-error' diagnostics seen but not expected: File /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' File /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' error: 'expected-note' diagnostics seen but not expected: File /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: expression evaluates to '3 == 4' File /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: expression evaluates to '3 == 4' 4 errors generated. -- ``` https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/7979 Here is the relevant piece of the build log for the reference ``` Step 6 (test-build-unified-tree-check-all) failure: test (failure) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp + /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp error: 'expected-error' diagnostics seen but not expected: File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' error: 'expected-note' diagnostics seen but not expected: File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: expression evaluates to '3 == 4' File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: expression evaluates to '3 == 4' 4 errors generated. -- ``` https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` running on `sie-win-worker` while building `clang` at step 7 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/7441 Here is the relevant piece of the build log for the reference ``` Step 7 (test-build-unified-tree-check-all) failure: test (failure) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -cc1 -internal-isystem Z:\b\llvm-clang-x86_64-sie-win\build\lib\clang\20\include -nostdsysteminc -std=c++20 -fsyntax-only -verify Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CXX\temp\temp.decls\temp.spec.partial\temp.spec.partial.member\p2.cpp # executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -cc1 -internal-isystem 'Z:\b\llvm-clang-x86_64-sie-win\build\lib\clang\20\include' -nostdsysteminc -std=c++20 -fsyntax-only -verify 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CXX\temp\temp.decls\temp.spec.partial\temp.spec.partial.member\p2.cpp' # .---command stderr # | error: 'expected-error' diagnostics seen but not expected: # | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CXX\temp\temp.decls\temp.spec.partial\temp.spec.partial.member\p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' # | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CXX\temp\temp.decls\temp.spec.partial\temp.spec.partial.member\p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' # | error: 'expected-note' diagnostics seen but not expected: # | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CXX\temp\temp.decls\temp.spec.partial\temp.spec.partial.member\p2.cpp Line 73: expression evaluates to '3 == 4' # | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CXX\temp\temp.decls\temp.spec.partial\temp.spec.partial.member\p2.cpp Line 77: expression evaluates to '3 == 4' # | 4 errors generated. # `- # error: command failed with exit status: 1 -- ``` https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux` running on `fuchsia-debian-64-us-central1-a-1` while building `clang` at step 4 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/7728 Here is the relevant piece of the build log for the reference ``` Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure) ... [1342/1344] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests [1343/1344] Running the Clang regression tests llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1z9rz3ps/bin/clang llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find clang-repl in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1z9rz3ps/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1z9rz3ps/bin llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1z9rz3ps/bin/ld.lld llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1z9rz3ps/bin/lld-link llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1z9rz3ps/bin/ld64.lld llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1z9rz3ps/bin/wasm-ld -- Testing: 21426 tests, 60 workers -- Testing: 0.. FAIL: Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp (2316 of 21426) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1z9rz3ps/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1z9rz3ps/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp + /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1z9rz3ps/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1z9rz3ps/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp error: 'expected-error' diagnostics seen but not expected: File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' error: 'expected-note' diagnostics seen but not expected: File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: expression evaluates to '3 == 4' File /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: expression evaluates to '3 == 4' 4 errors generated. -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Failed Tests (1): Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Testing Time: 79.88s Total Discovered Tests: 45538 Skipped : 8 (0.02%) Unsupported : 874 (1.92%) Passed : 44630 (98.01%) Expectedly Failed:25 (0.05%) Failed : 1 (0.00%) FAILED: tools/clang/test/CMakeFiles/check-clang /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1z9rz3ps/tools/clang/test/CMakeFiles/check-clang cd /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1z9rz3ps/tools/clang/test && /usr/bin/python3.10 /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1z9rz3ps/./bin/llvm-lit -sv --param USE_Z3_SOLVER=0 /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1z9rz3ps/tools/clang/test ninja: build stopped: subcommand failed. ['ninja', '-C', '/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1z9rz3ps', 'check-llvm', 'check-clang', 'check-lld'] exited with return code 1. @@@STEP_FAILURE@@@ Ste
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-cmake-x86_64-avx512-linux` running on `avx512-intel64` while building `clang` at step 7 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/133/builds/6348 Here is the relevant piece of the build log for the reference ``` Step 7 (ninja check 1) failure: stage 1 checked (failure) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/clang -cc1 -internal-isystem /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp + /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/clang -cc1 -internal-isystem /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp error: 'expected-error' diagnostics seen but not expected: File /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' File /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' error: 'expected-note' diagnostics seen but not expected: File /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: expression evaluates to '3 == 4' File /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: expression evaluates to '3 == 4' 4 errors generated. -- ``` https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/10961 Here is the relevant piece of the build log for the reference ``` Step 6 (test-build-unified-tree-check-all) failure: test (failure) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp + /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp error: 'expected-error' diagnostics seen but not expected: File /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' File /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' error: 'expected-note' diagnostics seen but not expected: File /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: expression evaluates to '3 == 4' File /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: expression evaluates to '3 == 4' 4 errors generated. -- ``` https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `clang` at step 6 "Add check check-clang". Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/10286 Here is the relevant piece of the build log for the reference ``` Step 6 (Add check check-clang) failure: test (failure) TEST 'Clang :: CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp' FAILED Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp + /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/20/include -nostdsysteminc -std=c++20 -fsyntax-only -verify /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp error: 'expected-error' diagnostics seen but not expected: File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: static assertion failed due to requirement 'A::B::y == 4' File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: static assertion failed due to requirement 'A::x == 4' error: 'expected-note' diagnostics seen but not expected: File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 73: expression evaluates to '3 == 4' File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CXX/temp/temp.decls/temp.spec.partial/temp.spec.partial.member/p2.cpp Line 77: expression evaluates to '3 == 4' 4 errors generated. -- ``` https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
https://github.com/sdkrystian closed https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
https://github.com/alexfh approved this pull request. LG https://github.com/llvm/llvm-project/pull/115159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Revert "Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)" (PR #115159)
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-modules Author: Krystian Stasiowski (sdkrystian) Changes This reverts commit 2bb3d3a3f32ffaef3d9b6a27db7f1941f0cb1136. --- Patch is 105.20 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/115159.diff 21 Files Affected: - (modified) clang/docs/ReleaseNotes.rst (-3) - (modified) clang/include/clang/AST/DeclTemplate.h (+36-59) - (modified) clang/include/clang/Sema/Sema.h (+19-6) - (modified) clang/lib/AST/Decl.cpp (+19-18) - (modified) clang/lib/AST/DeclCXX.cpp (+6-8) - (modified) clang/lib/AST/DeclTemplate.cpp (+16-14) - (modified) clang/lib/Sema/SemaConcept.cpp (+16-11) - (modified) clang/lib/Sema/SemaDecl.cpp (+17-14) - (modified) clang/lib/Sema/SemaDeclCXX.cpp (+2-2) - (modified) clang/lib/Sema/SemaInit.cpp (+1-1) - (modified) clang/lib/Sema/SemaTemplate.cpp (+89-83) - (modified) clang/lib/Sema/SemaTemplateDeduction.cpp (+30-3) - (modified) clang/lib/Sema/SemaTemplateDeductionGuide.cpp (+29-16) - (modified) clang/lib/Sema/SemaTemplateInstantiate.cpp (+385-362) - (modified) clang/lib/Sema/SemaTemplateInstantiateDecl.cpp (+9-37) - (modified) clang/lib/Serialization/ASTReader.cpp (+1-2) - (modified) clang/lib/Serialization/ASTReaderDecl.cpp (+8-8) - (modified) clang/lib/Serialization/ASTWriterDecl.cpp (+10-7) - (removed) clang/test/CXX/temp/temp.constr/temp.constr.decl/p4.cpp (-175) - (removed) clang/test/CXX/temp/temp.spec/temp.expl.spec/p7.cpp (-228) - (modified) clang/test/Modules/cxx-templates.cpp (+3-1) ``diff diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index 88621809bad7e2..d60d88920c6d0f 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -569,9 +569,6 @@ Bug Fixes to C++ Support in certain friend declarations. (#GH93099) - Clang now instantiates the correct lambda call operator when a lambda's class type is merged across modules. (#GH110401) -- Clang now uses the correct set of template argument lists when comparing the constraints of - out-of-line definitions and member templates explicitly specialized for a given implicit instantiation of - a class template. (#GH102320) - Fix a crash when parsing a pseudo destructor involving an invalid type. (#GH111460) - Fixed an assertion failure when invoking recovery call expressions with explicit attributes and undeclared templates. (#GH107047), (#GH49093) diff --git a/clang/include/clang/AST/DeclTemplate.h b/clang/include/clang/AST/DeclTemplate.h index a572e3380f1655..e4bf54c3d77b7f 100644 --- a/clang/include/clang/AST/DeclTemplate.h +++ b/clang/include/clang/AST/DeclTemplate.h @@ -787,11 +787,15 @@ class RedeclarableTemplateDecl : public TemplateDecl, EntryType *Entry, void *InsertPos); struct CommonBase { -CommonBase() {} +CommonBase() : InstantiatedFromMember(nullptr, false) {} /// The template from which this was most /// directly instantiated (or null). -RedeclarableTemplateDecl *InstantiatedFromMember = nullptr; +/// +/// The boolean value indicates whether this template +/// was explicitly specialized. +llvm::PointerIntPair +InstantiatedFromMember; /// If non-null, points to an array of specializations (including /// partial specializations) known only by their external declaration IDs. @@ -802,19 +806,14 @@ class RedeclarableTemplateDecl : public TemplateDecl, }; /// Pointer to the common data shared by all declarations of this - /// template, and a flag indicating if the template is a member - /// specialization. - mutable llvm::PointerIntPair Common; - - CommonBase *getCommonPtrInternal() const { return Common.getPointer(); } + /// template. + mutable CommonBase *Common = nullptr; /// Retrieves the "common" pointer shared by all (re-)declarations of /// the same template. Calling this routine may implicitly allocate memory /// for the common pointer. CommonBase *getCommonPtr() const; - void setCommonPtr(CommonBase *C) const { Common.setPointer(C); } - virtual CommonBase *newCommon(ASTContext &C) const = 0; // Construct a template decl with name, parameters, and templated element. @@ -855,22 +854,15 @@ class RedeclarableTemplateDecl : public TemplateDecl, /// template<> template /// struct X::Inner { /* ... */ }; /// \endcode - bool isMemberSpecialization() const { return Common.getInt(); } - - /// Determines whether any redeclaration of this template was - /// a specialization of a member template. - bool hasMemberSpecialization() const { -for (const auto *D : redecls()) { - if (D->isMemberSpecialization()) -return true; -} -return false; + bool isMemberSpecialization() const { +return getCommonPtr()->InstantiatedFromMember.getInt(); } /// Note that this member template is a specialization. void setMemberSpecialization() { -assert(!is