[clang] [LifetimeSafety] Add better lifetimebound fix-it spelling for C (PR #209967)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 15 22:50:31 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 90409 tests passed
* 1682 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.AST/ByteCode/virtual-bases.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/24/include -nostdsysteminc -std=c++26 -fexperimental-new-constant-interpreter -verify=both,expected /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/virtual-bases.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/24/include -nostdsysteminc -std=c++26 -fexperimental-new-constant-interpreter -verify=both,expected /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/virtual-bases.cpp
# .---command stderr------------
# | error: diagnostics with 'error' severity seen but not expected: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/virtual-bases.cpp Line 442: static assertion expression is not an integral constant expression
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/virtual-bases.cpp Line 443: static assertion expression is not an integral constant expression
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/virtual-bases.cpp Line 444: static assertion expression is not an integral constant expression
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/virtual-bases.cpp Line 445: static assertion expression is not an integral constant expression
# | error: diagnostics with 'note' severity seen but not expected: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/virtual-bases.cpp Line 442: subtracted pointers are not elements of the same array
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/virtual-bases.cpp Line 443: subtracted pointers are not elements of the same array
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/virtual-bases.cpp Line 444: subtracted pointers are not elements of the same array
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/virtual-bases.cpp Line 445: subtracted pointers are not elements of the same array
# | 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/209967


More information about the cfe-commits mailing list