[clang] [clang][sema] CallExprs are constructed for undeduced deleted functions (#208488) (PR #211705)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 23 20:51:52 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 55805 tests passed
* 1423 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.SemaCXX/cxx-deprecated.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 -std=c++20 C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\cxx-deprecated.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++20 'C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\cxx-deprecated.cpp'
# .---command stderr------------
# | error: 'expected-error' diagnostics seen but not expected:
# | File C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\cxx-deprecated.cpp Line 44: function 'b<0>' with deduced return type cannot be used before it is defined
# | error: 'expected-note' diagnostics seen but not expected:
# | File C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\cxx-deprecated.cpp Line 42: 'b<0>' declared here
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.SemaCXX/deduced-return-type-cxx14.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 -triple x86_64 -std=c++23 -fsyntax-only -verify=expected,cxx20_23,cxx23 C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\deduced-return-type-cxx14.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 -triple x86_64 -std=c++23 -fsyntax-only -verify=expected,cxx20_23,cxx23 'C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\deduced-return-type-cxx14.cpp'
# .---command stderr------------
# | error: diagnostics with 'error' severity seen but not expected:
# | File C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\deduced-return-type-cxx14.cpp Line 362: function 'h' with deduced return type cannot be used before it is defined
# | error: diagnostics with 'note' severity seen but not expected:
# | File C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\deduced-return-type-cxx14.cpp Line 361: 'h' declared here
# | 2 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/211705
More information about the cfe-commits
mailing list