github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 64615 tests passed
* 841 tests skipped
* 5 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.AST/ast-dump-cstyle-cast-interpretation.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
/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/24/include
-nostdsysteminc -triple x86_64-unknown-unknown -std=c++17 -ast-dump
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ast-dump-cstyle-cast-interpretation.cpp
|
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ast-dump-cstyle-cast-interpretation.cpp
# 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/24/include
-nostdsysteminc -triple x86_64-unknown-unknown -std=c++17 -ast-dump
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ast-dump-cstyle-cast-interpretation.cpp
# note: command had no output on stdout or stderr
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ast-dump-cstyle-cast-interpretation.cpp
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ast-dump-cstyle-cast-interpretation.cpp:42:12:
error: CHECK: expected string not found in input
# | // CHECK: CStyleCastExpr {{.*}} 'int' <FloatingToIntegral>{{$}}
# | ^
# | <stdin>:143:106: note: scanning from here
# | | `-CStyleCastExpr 0x136651b0 <col:9, col:16> 'long' <PointerToIntegral>
interpreted_as_reinterpret_cast
# |
^
# | <stdin>:148:25: note: possible intended match here
# | | `-ImplicitCastExpr 0x13665260 <col:14> 'int' <FloatingToIntegral>
part_of_explicit_cast
# | ^
# |
# | Input file: <stdin>
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ast-dump-cstyle-cast-interpretation.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 138: |-CStyleCastExpr 0x13665138 <line:35:3, col:16> 'void'
<ToVoid>
# | 139: | `-CStyleCastExpr 0x13665100 <col:9, col:16> 'int *'
<BitCast> interpreted_as_reinterpret_cast_then_const_cast
# | 140: | `-ImplicitCastExpr 0x136650e8 <col:16> 'const char *'
<LValueToRValue> part_of_explicit_cast
# | 141: | `-DeclRefExpr 0x136650b0 <col:16> 'const char *' lvalue
ParmVar 0x13664890 'cc' 'const char *'
# | 142: |-CStyleCastExpr 0x136651e8 <line:38:3, col:16> 'void'
<ToVoid>
# | 143: | `-CStyleCastExpr 0x136651b0 <col:9, col:16> 'long'
<PointerToIntegral> interpreted_as_reinterpret_cast
# | check:42'0
{ search range start (exclusive)
# | check:42'1
error: no match found in search
range
# | 144: | `-UnaryOperator 0x13665180 <col:15, col:16> 'int *'
prefix '&' cannot overflow
# | 145: | `-DeclRefExpr 0x13665160 <col:16> 'int' lvalue ParmVar
0x13664910 'i' 'int'
# | 146: |-CStyleCastExpr 0x136652b0 <line:41:3, col:14> 'void'
<ToVoid>
# | 147: | `-CStyleCastExpr 0x13665278 <col:9, col:14> 'int' <NoOp>
# | 148: | `-ImplicitCastExpr 0x13665260 <col:14> 'int'
<FloatingToIntegral> part_of_explicit_cast
# | check:42'2 ?
possible intended match
# | 149: | `-ImplicitCastExpr 0x13665248 <col:14> 'float'
<LValueToRValue> part_of_explicit_cast
# | 150: | `-DeclRefExpr 0x13665210 <col:14> 'float' lvalue ParmVar
0x13664990 'f' 'float'
# | 151: `-CStyleCastExpr 0x136653a0 <line:44:3, col:16> 'void'
<ToVoid>
# | 152: `-CXXFunctionalCastExpr 0x13665368 <col:9, col:16>
'Long':'long' functional cast to Long <PointerToIntegral>
interpreted_as_reinterpret_cast
# | 153: `-UnaryOperator 0x13665350 <col:14, col:15> 'int *' prefix
'&' cannot overflow
# | 154: `-DeclRefExpr 0x13665330 <col:15> 'int' lvalue ParmVar
0x13664910 'i' 'int'
# | check:42'3
} search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.AST/ast-dump-cxx-profiles-attrs.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/24/include
-nostdsysteminc -std=c++20 -fexperimental-cxx-profiles -ast-dump
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ast-dump-cxx-profiles-attrs.cpp
|
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ast-dump-cxx-profiles-attrs.cpp
# 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/24/include
-nostdsysteminc -std=c++20 -fexperimental-cxx-profiles -ast-dump
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ast-dump-cxx-profiles-attrs.cpp
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ast-dump-cxx-profiles-attrs.cpp:16:9:
error: std::casting forbids reinterpret_cast from 'int *' to 'char *'
[-Wcxx-profile-std-casting-reinterpret-cast-char]
# | 16 | (void)reinterpret_cast<char *>(p);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1
# executed command:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ast-dump-cxx-profiles-attrs.cpp
# .---command stderr------------
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ast-dump-cxx-profiles-attrs.cpp:6:16:
error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: ProfilesEnforceAttr {{.*}} "std::casting"
# | ^
# | <stdin>:16:12: note: scanning from here
# | |-EmptyDecl 0x4d3aec80
</home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ast-dump-cxx-profiles-attrs.cpp:4:36>
col:36
# | ^
# | <stdin>:17:3: note: possible intended match here
# | | `-ProfilesEnforceAttr 0x4d3aeca8 <col:3, col:33> std::casting
# | ^
# |
# | Input file: <stdin>
# | Check file:
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ast-dump-cxx-profiles-attrs.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 11: | `-BuiltinType 0x4d353da0 'char'
# | 12: |-TypedefDecl 0x4d3549a0 <<invalid sloc>> <invalid sloc>
implicit __builtin_va_list '__va_list_tag[1]'
# | 13: | `-ConstantArrayType 0x4d354940 '__va_list_tag[1]' 1
# | 14: | `-RecordType 0x4d354900 '__va_list_tag' canonical
# | 15: | `-CXXRecord 0x4d354660 '__va_list_tag'
# | 16: |-EmptyDecl 0x4d3aec80
</home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/ast-dump-cxx-profiles-attrs.cpp:4:36>
col:36
# | next:6'0 {
search range start (exclusive)
# | next:6'1
error: no match found in search range
# | 17: | `-ProfilesEnforceAttr 0x4d3aeca8 <col:3, col:33>
std::casting
# | next:6'2 ?
possible intended match
# | 18: |-EmptyDecl 0x4d3aed80 <line:9:51> col:51
# | 19: | `-ProfilesExemptAttr 0x4d3aeda8 <line:8:3, line:9:48>
"std::casting" "legacy.h" Angled "C interface"
# | 20: `-FunctionDecl 0x4d3aef68 <line:13:1, line:17:1> line:13:6 f
'void (int *)' external-linkage
# | 21: |-ParmVarDecl 0x4d3aee80 <col:8, col:13> col:13 used p 'int
*'
# | 22: `-CompoundStmt 0x4d3af230 <col:16, line:17:1>
# | 23: `-AttributedStmt 0x4d3af218 <line:14:3, line:16:35>
# | 24: |-ProfilesSuppressAttr 0x4d3af198 <line:14:5, line:15:48>
"std::casting" "reinterpret_cast" "testing"
# | 25: `-CStyleCastExpr 0x4d3af170 <line:16:3, col:35> 'void'
<ToVoid>
# | 26: `-CXXReinterpretCastExpr 0x4d3af130 <col:9, col:35> 'char *'
reinterpret_cast<char *> <BitCast>
# | 27: `-ImplicitCastExpr 0x4d3af118 <col:34> 'int *'
<LValueToRValue> part_of_explicit_cast
# | 28: `-DeclRefExpr 0x4d3af0e0 <col:34> 'int *' lvalue ParmVar
0x4d3aee80 'p' 'int *'
# | next:6'3
} search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.Parser/cxx-profiles-attributes.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/24/include
-nostdsysteminc -std=c++20 -fexperimental-cxx-profiles -fsyntax-only -verify
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Parser/cxx-profiles-attributes.cpp
# 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/24/include
-nostdsysteminc -std=c++20 -fexperimental-cxx-profiles -fsyntax-only -verify
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Parser/cxx-profiles-attributes.cpp
# note: command had no output on stdout or stderr
# RUN: at line 2
/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/24/include
-nostdsysteminc -std=c++20 -fsyntax-only -verify=disabled
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Parser/cxx-profiles-attributes.cpp
# 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/24/include
-nostdsysteminc -std=c++20 -fsyntax-only -verify=disabled
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Parser/cxx-profiles-attributes.cpp
# .---command stderr------------
# | error: 'disabled-error' diagnostics seen but not expected:
# | File
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Parser/cxx-profiles-attributes.cpp
Line 22: expected a profile name
# | File
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Parser/cxx-profiles-attributes.cpp
Line 26: expected a profile name
# | File
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Parser/cxx-profiles-attributes.cpp
Line 42: expected 'name: value' argument in 'suppress' attribute
# | File
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Parser/cxx-profiles-attributes.cpp
Line 46: invalid token in profile argument
# | error: 'disabled-warning' diagnostics expected but not seen:
# | File
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Parser/cxx-profiles-attributes.cpp
Line 22 (directive at
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Parser/cxx-profiles-attributes.cpp:24):
attribute ignored
# | File
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Parser/cxx-profiles-attributes.cpp
Line 26 (directive at
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Parser/cxx-profiles-attributes.cpp:28):
attribute ignored
# | File
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Parser/cxx-profiles-attributes.cpp
Line 42 (directive at
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Parser/cxx-profiles-attributes.cpp:44):
attribute ignored
# | File
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Parser/cxx-profiles-attributes.cpp
Line 46 (directive at
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Parser/cxx-profiles-attributes.cpp:48):
attribute ignored
# | 8 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.SemaCXX/cxx-profiles/preview.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/24/include
-nostdsysteminc -std=c++20 -fexperimental-cxx-profiles
-fcxx-profiles-preview=std::casting -fsyntax-only -verify
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx-profiles/preview.cpp
# 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/24/include
-nostdsysteminc -std=c++20 -fexperimental-cxx-profiles
-fcxx-profiles-preview=std::casting -fsyntax-only -verify
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx-profiles/preview.cpp
# .---command stderr------------
# | error: 'expected-error' diagnostics seen but not expected:
# | File
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx-profiles/preview.cpp
Line 7: std::casting forbids reinterpret_cast from 'int *' to 'char *'
# | error: 'expected-warning' diagnostics expected but not seen:
# | File
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx-profiles/preview.cpp
Line 7 (directive at
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx-profiles/preview.cpp:8):
std::casting forbids reinterpret_cast from 'int *' to 'char *'
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.SemaCXX/cxx-profiles/suppress.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/24/include
-nostdsysteminc -std=c++20 -fexperimental-cxx-profiles -fsyntax-only -verify
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx-profiles/suppress.cpp
# 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/24/include
-nostdsysteminc -std=c++20 -fexperimental-cxx-profiles -fsyntax-only -verify
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx-profiles/suppress.cpp
# .---command stderr------------
# | error: 'expected-error' diagnostics seen but not expected:
# | File
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/cxx-profiles/suppress.cpp
Line 58: std::casting forbids reinterpret_cast from 'int *' to 'char *'
# | 1 error 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/239372
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits