github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 56082 tests passed
* 1504 tests skipped
* 4 tests failed
## Failed Tests
(click on a test name to see its output)
### Clangd Unit Tests
<details>
<summary>Clangd Unit Tests._/ClangdTests_exe/Hover/Structured</summary>
```
Script:
--
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\unittests\.\ClangdTests.exe
--gtest_filter=Hover.Structured
--
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\unittests\HoverTests.cpp:1599
Expected equality of these values:
H->Definition
Which is: "template <> void foo<Foo, char, 0, false>()"
Expected.Definition
Which is: "template <> void foo<Foo, char, 0, false, <>>()"
Google Test trace:
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\unittests\HoverTests.cpp(1575):
template <template<typename, bool...> class C,
typename = char,
int = 0,
bool Q = false,
class... Ts> void foo();
template<typename, bool...> class Foo;
void bar() {
[[fo^o]]<Foo>();
}
```
</details>
<details>
<summary>Clangd Unit
Tests._/ClangdTests_exe/TargetDeclTest/BuiltinTemplates</summary>
```
Script:
--
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\unittests\.\ClangdTests.exe
--gtest_filter=TargetDeclTest.BuiltinTemplates
--
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\unittests\FindTargetTests.cpp:802
Value of: assertNodeAndPrintDecls("TemplateSpecializationTypeLoc")
Expected: has 2 elements and there exists some permutation of elements such
that:
- element #0 is equal to struct integer_sequence
Rel=TemplatePattern|Underlying, and
- element #1 is equal to template<> struct integer_sequence<int, <0, 1, 2>>
Rel=TemplateInstantiation|Underlying
Actual: { struct integer_sequence Rel=TemplatePattern|Underlying, template<>
struct integer_sequence<int, 0, 1, 2> Rel=TemplateInstantiation|Underlying },
where the following matchers don't match any elements:
matcher #1: is equal to template<> struct integer_sequence<int, <0, 1, 2>>
Rel=TemplateInstantiation|Underlying
and where the following elements don't match any matchers:
element #1: template<> struct integer_sequence<int, 0, 1, 2>
Rel=TemplateInstantiation|Underlying
template <class T, T... Index> struct integer_sequence {};
[[__make_integer_seq]]<integer_sequence, int, 3> X;
```
</details>
### Clang
<details>
<summary>Clang.AST/ast-dump-templates.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple x86_64-unknown-unknown -std=c++20 -ast-dump=json
C:\_work\llvm-project\llvm-project\clang\test\AST\ast-dump-templates.cpp |
c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=JSON
C:\_work\llvm-project\llvm-project\clang\test\AST\ast-dump-templates.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple x86_64-unknown-unknown -std=c++20 -ast-dump=json
'C:\_work\llvm-project\llvm-project\clang\test\AST\ast-dump-templates.cpp'
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
--check-prefix=JSON
'C:\_work\llvm-project\llvm-project\clang\test\AST\ast-dump-templates.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple x86_64-unknown-unknown -std=c++20 -ast-print
C:\_work\llvm-project\llvm-project\clang\test\AST\ast-dump-templates.cpp >
C:\_work\llvm-project\llvm-project\build\tools\clang\test\AST\Output\ast-dump-templates.cpp.tmp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple x86_64-unknown-unknown -std=c++20 -ast-print
'C:\_work\llvm-project\llvm-project\clang\test\AST\ast-dump-templates.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe <
C:\_work\llvm-project\llvm-project\build\tools\clang\test\AST\Output\ast-dump-templates.cpp.tmp
C:\_work\llvm-project\llvm-project\clang\test\AST\ast-dump-templates.cpp
-check-prefix=CHECK1
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe'
'C:\_work\llvm-project\llvm-project\clang\test\AST\ast-dump-templates.cpp'
-check-prefix=CHECK1
# .---command stderr------------
# |
C:\_work\llvm-project\llvm-project\clang\test\AST\ast-dump-templates.cpp:39:12:
error: CHECK1: expected string not found in input
# | // CHECK1: template<> struct foo<5, int, 5> {
# | ^
# | <stdin>:1:53: note: scanning from here
# | template <int X, typename Y, int Z = 5> struct foo {
# | ^
# | <stdin>:9:1: note: possible intended match here
# | template<> struct foo<5, int> {
# | ^
# |
# | Input file: <stdin>
# | Check file:
C:\_work\llvm-project\llvm-project\clang\test\AST\ast-dump-templates.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: template <int X, typename Y, int Z = 5> struct foo {
# | check:39'0 {
search range start (exclusive)
# | check:39'1
error: no match found in search range
# | 2: int constant;
# | 3: foo<X, Y, Z>() {
# | 4: }
# | 5: Y getSum() {
# | 6: return Y(X + Z);
# | 7: }
# | 8: };
# | 9: template<> struct foo<5, int> {
# | check:39'2 ? possible intended match
# | 10: int constant;
# | 11: foo() {
# | 12: }
# | 13: int getSum() {
# | 14: return int(5 + 5);
# | .
# | .
# | .
# | 31: void baz() {
# | 32: int x = bar<5, int>();
# | 33: int y = foo<5, int>().getSum();
# | 34: double z = foo<2, double, 3>().getSum();
# | 35: }
# | 36: template <typename ...T> struct A {
# | check:39'3 } search range end
(exclusive)
# | 37: template <T ...x[3]> struct B {
# | 38: };
# | 39: };
# | 40: template <typename ...T> void f() {
# | 41: A<T[3]...> a;
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.SemaCXX/cxx2c-pack-indexing.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc
-triple x86_64-linux-gnu -std=c++2c -verify
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\cxx2c-pack-indexing.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe'
-cc1 -internal-isystem
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc
-triple x86_64-linux-gnu -std=c++2c -verify
'C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\cxx2c-pack-indexing.cpp'
# .---command stderr------------
# | error: 'expected-note' diagnostics expected but not seen:
# | File
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\cxx2c-pack-indexing.cpp
Line 377: in instantiation of function template specialization
'GH205650::foo<int, int>' requested here
# | error: 'expected-note' diagnostics seen but not expected:
# | File
C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\cxx2c-pack-indexing.cpp
Line 377: in instantiation of function template specialization
'GH205650::foo<int>' requested here
# | 2 errors 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/216570
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits