[clang] [clang][ExprConst] Add another missing `NoteLValueLocation()` call (PR #195098)

via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 30 07:58:45 PDT 2026


github-actions[bot] wrote:

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

* 87720 tests passed
* 1519 tests skipped
* 1 test failed

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

### Clang
<details>
<summary>Clang.SemaCXX/constant-expression-cxx14.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++23 -Werror=return-type -fsyntax-only -verify=expected,cxx20_23,cxx23          /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/constant-expression-cxx14.cpp -fcxx-exceptions -triple=x86_64-linux-gnu
# 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++23 -Werror=return-type -fsyntax-only -verify=expected,cxx20_23,cxx23 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/constant-expression-cxx14.cpp -fcxx-exceptions -triple=x86_64-linux-gnu
# .---command stderr------------
# | error: diagnostics with 'note' severity expected but not seen: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/constant-expression-cxx14.cpp Line 1287 'expected-note': declard here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/constant-expression-cxx14.cpp Line 1305 'expected-note': declared here
# | error: diagnostics with 'note' severity seen but not expected: 
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/constant-expression-cxx14.cpp Line 1287: declared here
# |   File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/constant-expression-cxx14.cpp Line 1310: declared here
# | 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/195098


More information about the cfe-commits mailing list