[clang] [clang][NFC] Clean up InitializedEntity booleans. (PR #185335)

via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 8 18:59:34 PDT 2026


github-actions[bot] wrote:

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

* 86784 tests passed
* 1301 tests skipped
* 6 tests failed

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

### Clang
<details>
<summary>Clang.AST/ByteCode/libcxx/non-const-local-temporary.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++2c -fexperimental-new-constant-interpreter -verify=expected,both /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/libcxx/non-const-local-temporary.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++2c -fexperimental-new-constant-interpreter -verify=expected,both /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/libcxx/non-const-local-temporary.cpp
# .---command stderr------------
# | error: diagnostics with 'warning' severity seen but not expected: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/libcxx/non-const-local-temporary.cpp Line 47: initializing pointer member '__begin_' with the stack address of variable 'a'
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/libcxx/non-const-local-temporary.cpp Line 47: initializing pointer member '__end_' with the stack address of variable 'a'
# | error: diagnostics with 'note' severity seen but not expected: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/libcxx/non-const-local-temporary.cpp Line 24: pointer member declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/libcxx/non-const-local-temporary.cpp Line 25: pointer member declared here
# | 4 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.AST/ByteCode/libcxx/pointer-subscript.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++2c -fexperimental-new-constant-interpreter -verify=expected,both /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/libcxx/pointer-subscript.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++2c -fexperimental-new-constant-interpreter -verify=expected,both /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/libcxx/pointer-subscript.cpp
# .---command stderr------------
# | error: diagnostics with 'warning' severity seen but not expected: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/libcxx/pointer-subscript.cpp Line 31: initializing pointer member '__ptr_' with the stack address of variable 'array'
# | error: diagnostics with 'note' severity seen but not expected: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/libcxx/pointer-subscript.cpp Line 11: pointer member declared here
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.AST/ByteCode/records.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++14 -verify=expected,both              /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/records.cpp -fexperimental-new-constant-interpreter
# 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++14 -verify=expected,both /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/records.cpp -fexperimental-new-constant-interpreter
# note: command had no output on stdout or stderr
# RUN: at line 2
/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++17 -verify=expected,both              /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/records.cpp -fexperimental-new-constant-interpreter
# 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++17 -verify=expected,both /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/records.cpp -fexperimental-new-constant-interpreter
# note: command had no output on stdout or stderr
# RUN: at line 3
/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++17 -verify=expected,both -triple i686 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/records.cpp -fexperimental-new-constant-interpreter
# 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++17 -verify=expected,both -triple i686 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/records.cpp -fexperimental-new-constant-interpreter
# note: command had no output on stdout or stderr
# RUN: at line 4
/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 -verify=expected,both              /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/records.cpp -fexperimental-new-constant-interpreter
# 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 -verify=expected,both /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/records.cpp -fexperimental-new-constant-interpreter
# .---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/records.cpp Line 1025: reference member 'j' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/records.cpp Line 1027: reference member 'j' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
# | error: diagnostics with 'note' severity seen but not expected: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/records.cpp Line 1021: reference member declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ByteCode/records.cpp Line 1021: reference member declared here
# | 4 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CodeGen/paren-list-agg-init.cpp</summary>

```
Exit Code: 2

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 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp -emit-llvm -triple x86_64-unknown-linux-gnu -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.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 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp -emit-llvm -triple x86_64-unknown-linux-gnu -o -
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:110:16: warning: implicit conversion from 'double' to 'char' changes value from 3.1 to 3 [-Wliteral-conversion]
# |   110 | constexpr A a1(3.1, 2.0);
# |       |               ~^~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:404:5: warning: expression result unused [-Wunused-value]
# |   404 |     S1((Vec&&) v);
# |       |     ^ ~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:426:5: warning: expression result unused [-Wunused-value]
# |   426 |     S2((Vec&&) v, 0);
# |       |     ^ ~~~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:463:10: error: reference member 'r' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
# |   463 |     I(0, 1);
# |       |          ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:105:11: note: reference member declared here
# |   105 |     int&& r = 2;
# |       |           ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:463:5: warning: expression result unused [-Wunused-value]
# |   463 |     I(0, 1);
# |       |     ^~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:478:10: error: reference member 'r' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
# |   478 |     I(0, foo20());
# |       |          ^~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:105:11: note: reference member declared here
# |   105 |     int&& r = 2;
# |       |           ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:478:5: warning: expression result unused [-Wunused-value]
# |   478 |     I(0, foo20());
# |       |     ^~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:492:29: warning: binding reference member 'r' to stack allocated parameter 'i' [-Wdangling-field]
# |   492 |     I(0, static_cast<int&&>(i));
# |       |                             ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:105:11: note: reference member declared here
# |   105 |     int&& r = 2;
# |       |           ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:492:5: warning: expression result unused [-Wunused-value]
# |   492 |     I(0, static_cast<int&&>(i));
# |       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:506:8: error: reference member 'r' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
# |   506 |     I(0);
# |       |        ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:105:11: note: initializing field 'r' with default member initializer
# |   105 |     int&& r = 2;
# |       |           ^   ~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:506:5: warning: expression result unused [-Wunused-value]
# |   506 |     I(0);
# |       |     ^~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:404:5: warning: expression result unused [-Wunused-value]
# |   404 |     S1((Vec&&) v);
# |       |     ^ ~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:430:5: note: in instantiation of function template specialization 'gh61145::make1<0>' requested here
# |   430 |     make1<0>();
# |       |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:426:5: warning: expression result unused [-Wunused-value]
# |   426 |     S2((Vec&&) v, 0);
# |       |     ^ ~~~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp:431:5: note: in instantiation of function template specialization 'gh61145::make2<0>' requested here
# |   431 |     make2<0>();
# |       |     ^
# | 10 warnings and 3 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/paren-list-agg-init.cpp
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>Clang.SemaCXX/cxx20-warn-dangling-paren-list-agg-init.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 -verify -std=c++20 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp -fsyntax-only
# 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 -verify -std=c++20 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp -fsyntax-only
# .---command stderr------------
# | error: 'expected-error' diagnostics seen but not expected: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 22: reference member 'r' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 24: reference member 'r' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 33: reference member 'r' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 41: reference member 'r' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 55: reference member 'r' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 58: reference member 'r' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
# | error: 'expected-warning' diagnostics seen but not expected: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 34: binding reference member 'r' to stack allocated parameter 'local'
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 42: binding reference member 'r' to stack allocated parameter 'local'
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 55: reference member 'b' binds to a temporary object whose lifetime is shorter than the lifetime of the constructed object
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 58: reference member 'b' binds to a temporary object whose lifetime is shorter than the lifetime of the constructed object
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 58: reference member 'c' binds to a temporary object whose lifetime is shorter than the lifetime of the constructed object
# | error: 'expected-note' diagnostics seen but not expected: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 14: reference member declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 14: reference member declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 30: reference member declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 30: reference member declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 30: reference member declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 30: reference member declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 30: reference member declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 47: reference member declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 30: reference member declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 47: reference member declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx20-warn-dangling-paren-list-agg-init.cpp Line 51: reference member declared here
# | 22 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.SemaCXX/paren-list-agg-init.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 -verify -std=c++20 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/paren-list-agg-init.cpp -fsyntax-only
# 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 -verify -std=c++20 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/paren-list-agg-init.cpp -fsyntax-only
# .---command stderr------------
# | error: 'expected-error' diagnostics seen but not expected: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/paren-list-agg-init.cpp Line 116: reference member 'c' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/paren-list-agg-init.cpp Line 261: reference member 'j' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/paren-list-agg-init.cpp Line 261: reference member 'k' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/paren-list-agg-init.cpp Line 266: reference member 'j' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/paren-list-agg-init.cpp Line 266: reference member 'k' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
# | error: 'expected-warning' diagnostics expected but not seen: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/paren-list-agg-init.cpp Line 275 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/paren-list-agg-init.cpp:276): braces around scalar init
# | error: 'expected-note' diagnostics seen but not expected: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/paren-list-agg-init.cpp Line 14: reference member declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/paren-list-agg-init.cpp Line 256: reference member declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/paren-list-agg-init.cpp Line 258: reference member declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/paren-list-agg-init.cpp Line 256: reference member declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/paren-list-agg-init.cpp Line 258: initializing field 'k' with default member initializer
# | 11 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/185335


More information about the cfe-commits mailing list