[clang] [clang][bytecode] Add opaque pointers to support type-only pointers (PR #213017)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 30 06:56:53 PDT 2026
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/213017 at github.com>
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 55872 tests passed
* 1444 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.SemaCXX/new-delete.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=expected,cxx98-23,precxx20 C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp -triple=i686-pc-linux-gnu -Wno-new-returns-null -std=c++98
# 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,cxx98-23,precxx20 'C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp' -triple=i686-pc-linux-gnu -Wno-new-returns-null -std=c++98
# 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=expected,cxx98-23,precxx20 C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp -triple=i686-pc-linux-gnu -Wno-new-returns-null -std=c++11
# 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,cxx98-23,precxx20 'C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp' -triple=i686-pc-linux-gnu -Wno-new-returns-null -std=c++11
# 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=expected,cxx98-23,precxx20 C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp -triple=i686-pc-linux-gnu -Wno-new-returns-null -std=c++14
# 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,cxx98-23,precxx20 'C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp' -triple=i686-pc-linux-gnu -Wno-new-returns-null -std=c++14
# 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,cxx98-23,cxx17,precxx20 C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp -triple=i686-pc-linux-gnu -Wno-new-returns-null -std=c++17
# 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,cxx98-23,cxx17,precxx20 'C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp' -triple=i686-pc-linux-gnu -Wno-new-returns-null -std=c++17
# note: command had no output on stdout or stderr
# RUN: at line 5
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,cxx98-23,cxx17,cxx20 C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp -triple=i686-pc-linux-gnu -Wno-new-returns-null -std=c++20
# 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,cxx98-23,cxx17,cxx20 'C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp' -triple=i686-pc-linux-gnu -Wno-new-returns-null -std=c++20
# note: command had no output on stdout or stderr
# RUN: at line 6
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,cxx98-23,cxx17,cxx20 C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp -triple=i686-pc-linux-gnu -Wno-new-returns-null -std=c++23
# 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,cxx98-23,cxx17,cxx20 'C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp' -triple=i686-pc-linux-gnu -Wno-new-returns-null -std=c++23
# note: command had no output on stdout or stderr
# RUN: at line 7
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,since-cxx26,cxx17,cxx20 C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp -triple=i686-pc-linux-gnu -Wno-new-returns-null -std=c++2c
# 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,since-cxx26,cxx17,cxx20 'C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp' -triple=i686-pc-linux-gnu -Wno-new-returns-null -std=c++2c
# note: command had no output on stdout or stderr
# RUN: at line 9
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,cxx98-23,precxx20 C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp -triple=i686-pc-linux-gnu -Wno-new-returns-null -std=c++98 -fexperimental-new-constant-interpreter -DNEW_INTERP
# 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,cxx98-23,precxx20 'C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp' -triple=i686-pc-linux-gnu -Wno-new-returns-null -std=c++98 -fexperimental-new-constant-interpreter -DNEW_INTERP
# .---command stderr------------
# | error: diagnostics with 'error' severity expected but not seen:
# | File C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp Line 720 (directive at C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp:725) 'expected-error': cannot allocate object of variably modified type
# | error: diagnostics with 'error' severity seen but not expected:
# | File C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp Line 720: only the first dimension of an allocated array may have dynamic size
# | error: diagnostics with 'warning' severity expected but not seen:
# | File C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp Line 720 (directive at C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp:726) 'expected-warning': variable length arrays in C++ are a Clang extension
# | error: diagnostics with 'note' severity seen but not expected:
# | File C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\new-delete.cpp Line 720: cannot refer to element 12 of non-array object in a constant expression
# | 4 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/213017
More information about the cfe-commits
mailing list