[clang] [clang] Lifetimebound in assignment operator should work for non-gsl annotated types. (PR #113180)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 22 05:38:38 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building `clang` at step 7 "Add check check-clang".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/7399

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 7 (Add check check-clang) failure: test (failure)
******************** TEST 'Clang :: SemaCXX/attr-lifetimebound.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/clang -cc1 -internal-isystem /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/lib/clang/20/include -nostdsysteminc -std=c++23 -verify /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/SemaCXX/attr-lifetimebound.cpp
+ /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/clang -cc1 -internal-isystem /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/lib/clang/20/include -nostdsysteminc -std=c++23 -verify /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/SemaCXX/attr-lifetimebound.cpp
error: 'expected-warning' diagnostics expected but not seen: 
  File /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/SemaCXX/attr-lifetimebound.cpp Line 333: object backing the foo1 will be destroyed at the end
  File /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/SemaCXX/attr-lifetimebound.cpp Line 335: object backing the foo2 will be destroyed at the end
error: 'expected-warning' diagnostics seen but not expected: 
  File /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/SemaCXX/attr-lifetimebound.cpp Line 333: object backing foo1 will be destroyed at the end of the full-expression
  File /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/SemaCXX/attr-lifetimebound.cpp Line 335: object backing foo2 will be destroyed at the end of the full-expression
4 errors generated.

--

********************


```

</details>

https://github.com/llvm/llvm-project/pull/113180


More information about the cfe-commits mailing list