[clang] [clang][bytecode] Use ExtendingDecl mechanism for primitives as well (PR #128141)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 21 01:01:05 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building `clang` at step 6 "test-build-unified-tree-check-all".

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

<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/libcxx/primitive-temporary.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/clang/21/include -nostdsysteminc -std=c++2c -fexperimental-new-constant-interpreter -verify=expected,both /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/clang/21/include -nostdsysteminc -std=c++2c -fexperimental-new-constant-interpreter -verify=expected,both /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp
error: 'both-warning' diagnostics seen but not expected: 
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 168: unqualified call to 'std::move'
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 168: unqualified call to 'std::move'
error: 'both-note' diagnostics seen but not expected: 
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 182: while substituting deduced template arguments into function template 'operator()' [with _Ip = T *]
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 182: in instantiation of requirement here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 181: while substituting template arguments into constraint expression here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 188: while checking the satisfaction of concept '__indirectly_readable_impl<T *>' requested here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 188: while substituting template arguments into constraint expression here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 221: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 221: while substituting template arguments into constraint expression here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 238: while checking constraint satisfaction for template 'projected<T *, Proj>' required here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 238: while substituting template arguments into constraint expression here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 268: while checking constraint satisfaction for template 'operator()<T *, T *, Proj, UnaryVoid>' required here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 268: in instantiation of function template specialization 'std::ranges::__for_each::operator()<T *, T *, Proj, UnaryVoid>' requested here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 182: while substituting deduced template arguments into function template 'operator()' [with _Ip = std::__projected_impl<T *, Proj>::__type]
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 182: in instantiation of requirement here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 181: while substituting template arguments into constraint expression here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 188: while checking the satisfaction of concept '__indirectly_readable_impl<std::__projected_impl<T *, Proj>::__type>' requested here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 188: while substituting template arguments into constraint expression here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 192: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 201: while substituting template arguments into constraint expression here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 238: while checking the satisfaction of concept 'indirectly_unary_invocable<UnaryVoid, std::__projected_impl<T *, Proj>::__type>' requested here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 238: while substituting template arguments into constraint expression here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 268: while checking constraint satisfaction for template 'operator()<T *, T *, Proj, UnaryVoid>' required here
  File /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp Line 268: in instantiation of function template specialization 'std::ranges::__for_each::operator()<T *, T *, Proj, UnaryVoid>' requested here
24 errors generated.

--

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


```

</details>

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


More information about the cfe-commits mailing list