[clang] [Clang] Avoid crash when expression requirements are substitution failures (PR #176896)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 20 07:28:52 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 85477 tests passed
* 1209 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.SemaTemplate/concepts.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=c++20 -ferror-limit 0 -verify=expected,cxx20 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/concepts.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=c++20 -ferror-limit 0 -verify=expected,cxx20 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/concepts.cpp
# .---command stderr------------
# | error: diagnostics with 'error' severity expected but not seen:
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/concepts.cpp Line 1723 'expected-error': expected ';' at end of requirement
# | error: diagnostics with 'error' severity seen but not expected:
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/concepts.cpp Line 1722: expected ';' at end of requirement
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/concepts.cpp Line 1722: expected ';' after return statement
# | 3 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/176896
More information about the cfe-commits
mailing list