[clang] [Clang] Implement P2280R4 Using unknown pointers and references in constant expressions (PR #95474)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 22 00:57:42 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `arc-builder` running on `arc-worker` while building `clang` at step 6 "test-build-unified-tree-check-all".

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

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

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: AST/ByteCode/cxx2a.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /buildbot/worker/arc-folder/build/bin/clang -cc1 -internal-isystem /buildbot/worker/arc-folder/build/lib/clang/20/include -nostdsysteminc -std=c++2a -fsyntax-only -fcxx-exceptions -verify=ref,both /buildbot/worker/arc-folder/llvm-project/clang/test/AST/ByteCode/cxx2a.cpp
+ /buildbot/worker/arc-folder/build/bin/clang -cc1 -internal-isystem /buildbot/worker/arc-folder/build/lib/clang/20/include -nostdsysteminc -std=c++2a -fsyntax-only -fcxx-exceptions -verify=ref,both /buildbot/worker/arc-folder/llvm-project/clang/test/AST/ByteCode/cxx2a.cpp
error: 'both-error' diagnostics expected but not seen: 
  File /buildbot/worker/arc-folder/llvm-project/clang/test/AST/ByteCode/cxx2a.cpp Line 142: constant expression
error: 'both-note' diagnostics expected but not seen: 
  File /buildbot/worker/arc-folder/llvm-project/clang/test/AST/ByteCode/cxx2a.cpp Line 142: typeid applied to object 'extern_b2' whose dynamic type is not constant
2 errors generated.

--

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


```

</details>

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


More information about the cfe-commits mailing list