[clang] [clang] Infer capture_by for insert_or_assign (PR #122109)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 8 14:39:05 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-x86_64-debian-dylib` running on `gribozavr4` while building `clang` at step 6 "test-build-unified-tree-check-clang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/60/builds/16507
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-clang) failure: test (failure)
******************** TEST 'Clang :: SemaOpenACC/update-construct-ast.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 -internal-isystem /b/1/llvm-x86_64-debian-dylib/build/lib/clang/20/include -nostdsysteminc /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/SemaOpenACC/update-construct-ast.cpp -fopenacc -ast-dump | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/SemaOpenACC/update-construct-ast.cpp
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/SemaOpenACC/update-construct-ast.cpp
+ /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 -internal-isystem /b/1/llvm-x86_64-debian-dylib/build/lib/clang/20/include -nostdsysteminc /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/SemaOpenACC/update-construct-ast.cpp -fopenacc -ast-dump
RUN: at line 4: /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 -internal-isystem /b/1/llvm-x86_64-debian-dylib/build/lib/clang/20/include -nostdsysteminc /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/SemaOpenACC/update-construct-ast.cpp -fopenacc -emit-pch -o /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/SemaOpenACC/Output/update-construct-ast.cpp.tmp /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/SemaOpenACC/update-construct-ast.cpp
+ /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 -internal-isystem /b/1/llvm-x86_64-debian-dylib/build/lib/clang/20/include -nostdsysteminc /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/SemaOpenACC/update-construct-ast.cpp -fopenacc -emit-pch -o /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/SemaOpenACC/Output/update-construct-ast.cpp.tmp /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/SemaOpenACC/update-construct-ast.cpp
RUN: at line 5: /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 -internal-isystem /b/1/llvm-x86_64-debian-dylib/build/lib/clang/20/include -nostdsysteminc /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/SemaOpenACC/update-construct-ast.cpp -fopenacc -include-pch /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/SemaOpenACC/Output/update-construct-ast.cpp.tmp -ast-dump-all | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/SemaOpenACC/update-construct-ast.cpp
+ /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 -internal-isystem /b/1/llvm-x86_64-debian-dylib/build/lib/clang/20/include -nostdsysteminc /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/SemaOpenACC/update-construct-ast.cpp -fopenacc -include-pch /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/SemaOpenACC/Output/update-construct-ast.cpp.tmp -ast-dump-all
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/SemaOpenACC/update-construct-ast.cpp
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/SemaOpenACC/update-construct-ast.cpp:256:17: error: CHECK-NEXT: is not on the line after the previous match
// CHECK-NEXT: IntegerLiteral{{.*}}1
^
<stdin>:226:5: note: 'next' match was here
| `-IntegerLiteral 0x7cc5d0 <col:72> 'int' 1
^
<stdin>:224:135: note: previous match ended here
| | `-DeclRefExpr 0x7d3f08 <col:59> 'decltype(SomeStruct::value)[5]' lvalue Var 0x7d3c90 'LocalArray' 'decltype(SomeStruct::value)[5]'
^
<stdin>:225:1: note: non-matching line after previous match is here
| |-IntegerLiteral 0x7cc5f0 <col:70> 'int' 0
^
Input file: <stdin>
Check file: /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/SemaOpenACC/update-construct-ast.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
221: | | `-IntegerLiteral 0x7cc8c0 <col:55> 'int' 0
222: | `-ArraySectionExpr 0x7d3f40 <col:59, col:73> '<array section type>' lvalue
223: | |-ImplicitCastExpr 0x7d3f28 <col:59> 'decltype(SomeStruct::value) *' <ArrayToPointerDecay>
224: | | `-DeclRefExpr 0x7d3f08 <col:59> 'decltype(SomeStruct::value)[5]' lvalue Var 0x7d3c90 'LocalArray' 'decltype(SomeStruct::value)[5]'
225: | |-IntegerLiteral 0x7cc5f0 <col:70> 'int' 0
226: | `-IntegerLiteral 0x7cc5d0 <col:72> 'int' 1
next:256 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
227: |-CXXRecordDecl 0x7cc270 <line:259:1, line:262:1> line:259:8 imported referenced <undeserialized declarations> struct SomeStruct definition
228: | |-DefinitionData pass_in_registers empty aggregate standard_layout trivially_copyable pod trivial literal has_constexpr_non_copy_move_ctor can_const_default_init
229: | | |-DefaultConstructor exists trivial constexpr needs_implicit defaulted_is_constexpr
230: | | |-CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param
231: | | |-MoveConstructor exists simple trivial needs_implicit
.
.
...
```
</details>
https://github.com/llvm/llvm-project/pull/122109
More information about the cfe-commits
mailing list