[clang] Don't try to set MemberSpecialization on invalid var decl chain (PR #209604)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 14 13:46:04 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 55756 tests passed
* 1383 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.SemaTemplate/class-template-spec.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -fsyntax-only -verify C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -fsyntax-only -verify 'C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -fsyntax-only -verify -std=c++98 C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -fsyntax-only -verify -std=c++98 'C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -fsyntax-only -verify -std=c++11 C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -fsyntax-only -verify -std=c++11 'C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -fsyntax-only -verify=expected,cxx14 -std=c++14 C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -fsyntax-only -verify=expected,cxx14 -std=c++14 'C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp'
# .---command stderr------------
# | error: diagnostics with 'error' severity expected but not seen:
# | File C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp Line 264 (directive at C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp:262) 'cxx14-error': redefinition of 'foo'
# | File C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp Line 267 (directive at C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp:265) 'cxx14-error': redefinition of 'foo'
# | File C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp Line 270 (directive at C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp:268) 'cxx14-error': redefinition of 'foo'
# | File C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp Line 273 (directive at C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp:271) 'cxx14-error': redefinition of 'foo'
# | error: diagnostics with 'note' severity expected but not seen:
# | File C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp Line 259 (directive at C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp:263) 'cxx14-note': previous definition is here
# | File C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp Line 264 (directive at C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp:266) 'cxx14-note': previous definition is here
# | File C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp Line 267 (directive at C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp:269) 'cxx14-note': previous definition is here
# | File C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp Line 270 (directive at C:\_work\llvm-project\llvm-project\clang\test\SemaTemplate\class-template-spec.cpp:272) 'cxx14-note': previous definition is here
# | 8 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/209604
More information about the cfe-commits
mailing list