[llvm-branch-commits] [clang] [Clang] [C++26] Expansion Statements (Part 10: Expansion Limit) (PR #169689)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Mar 18 18:47:20 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 87004 tests passed
* 1328 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.SemaTemplate/GH176155.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 -fsyntax-only -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.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 -fsyntax-only -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp
# .---command stderr------------
# | error: 'expected-error' diagnostics expected but not seen:
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 11 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp:12): variable 'i' cannot be implicitly captured in a lambda with no capture-default specified
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 11 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp:15): variable 'i' cannot be implicitly captured in a lambda with no capture-default specified
# | error: 'expected-note' diagnostics expected but not seen:
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 5 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp:6): while substituting into a lambda expression here
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 5 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp:7): capture 'i' by value
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 5 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp:7): capture 'i' by value
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 5 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp:8): capture 'i' by reference
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 5 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp:8): capture 'i' by reference
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 5 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp:9): default capture by value
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 5 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp:9): default capture by value
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 5 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp:10): default capture by reference
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 5 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp:10): default capture by reference
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 11 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp:13): 'i' declared here
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 5 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp:14): lambda expression begins here
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 11 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp:16): 'i' declared here
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 5 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp:17): lambda expression begins here
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 23: in instantiation of default argument for 'f<int>' required here
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaTemplate/GH176155.cpp Line 26: while substituting deduced template arguments into function template 'f'
# | 17 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/169689
More information about the llvm-branch-commits
mailing list