github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
The build failed before running any tests. Click on a failure below to see the
details.
<details>
<summary>[code=1]
tools/clang/tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseRangesCheck.cpp.obj</summary>
```
FAILED: [code=1]
tools/clang/tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseRangesCheck.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DCLANG_BUILD_STATIC
-DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS
-D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE
-D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Itools\clang\tools\extra\clang-tidy\modernize
-IC:\_work\llvm-project\llvm-project\clang-tools-extra\clang-tidy\modernize
-Itools\clang\tools\extra\clang-tidy
-IC:\_work\llvm-project\llvm-project\clang\include -Itools\clang\include
-Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include /DWIN32 /D_WINDOWS
/Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive-
-Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion
-Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2
-MD /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes
/Fotools\clang\tools\extra\clang-tidy\modernize\CMakeFiles\obj.clangTidyModernizeModule.dir\UseRangesCheck.cpp.obj
/Fdtools\clang\tools\extra\clang-tidy\modernize\CMakeFiles\obj.clangTidyModernizeModule.dir\
-c --
C:\_work\llvm-project\llvm-project\clang-tools-extra\clang-tidy\modernize\UseRangesCheck.cpp
C:\_work\llvm-project\llvm-project\clang-tools-extra\clang-tidy\modernize\UseRangesCheck.cpp(141,30):
error: constexpr variable cannot have non-literal type 'const Signature' (aka
'const SmallVector<Indexes, 2>')
141 | static constexpr Signature SingleRangeArgs = {{0}};
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/SmallVector.h(1202,22):
note: 'SmallVector<clang::tidy::utils::UseRangesCheck::Indexes, 2>' is not
literal because it is not an aggregate and has no constexpr constructors other
than copy or move constructors
1202 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl<T>,
| ^
C:\_work\llvm-project\llvm-project\clang-tools-extra\clang-tidy\modernize\UseRangesCheck.cpp(144,30):
error: constexpr variable cannot have non-literal type 'const Signature' (aka
'const SmallVector<Indexes, 2>')
144 | static constexpr Signature TwoRangeArgs = {{0}, {2}};
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/SmallVector.h(1202,22):
note: 'SmallVector<clang::tidy::utils::UseRangesCheck::Indexes, 2>' is not
literal because it is not an aggregate and has no constexpr constructors other
than copy or move constructors
1202 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl<T>,
| ^
C:\_work\llvm-project\llvm-project\clang-tools-extra\clang-tidy\modernize\UseRangesCheck.cpp(147,30):
error: constexpr variable cannot have non-literal type 'const Signature' (aka
'const SmallVector<Indexes, 2>')
147 | static constexpr Signature SinglePivotRange = {{0, 2}};
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/SmallVector.h(1202,22):
note: 'SmallVector<clang::tidy::utils::UseRangesCheck::Indexes, 2>' is not
literal because it is not an aggregate and has no constexpr constructors other
than copy or move constructors
1202 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl<T>,
| ^
C:\_work\llvm-project\llvm-project\clang-tools-extra\clang-tidy\modernize\UseRangesCheck.cpp(149,30):
error: constexpr variable cannot have non-literal type 'const Signature[]'
(aka 'const SmallVector<Indexes, 2>[]')
149 | static constexpr Signature SingleRangeFunc[] = {SingleRangeArgs};
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/SmallVector.h(1202,22):
note: 'SmallVector<clang::tidy::utils::UseRangesCheck::Indexes, 2>' is not
literal because it is not an aggregate and has no constexpr constructors other
than copy or move constructors
1202 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl<T>,
| ^
C:\_work\llvm-project\llvm-project\clang-tools-extra\clang-tidy\modernize\UseRangesCheck.cpp(151,30):
error: constexpr variable cannot have non-literal type 'const Signature[]'
(aka 'const SmallVector<Indexes, 2>[]')
151 | static constexpr Signature TwoRangeFunc[] = {TwoRangeArgs};
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/SmallVector.h(1202,22):
note: 'SmallVector<clang::tidy::utils::UseRangesCheck::Indexes, 2>' is not
literal because it is not an aggregate and has no constexpr constructors other
than copy or move constructors
1202 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl<T>,
| ^
C:\_work\llvm-project\llvm-project\clang-tools-extra\clang-tidy\modernize\UseRangesCheck.cpp(153,30):
error: constexpr variable cannot have non-literal type 'const Signature[]'
(aka 'const SmallVector<Indexes, 2>[]')
153 | static constexpr Signature SinglePivotFunc[] = {SinglePivotRange};
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/SmallVector.h(1202,22):
note: 'SmallVector<clang::tidy::utils::UseRangesCheck::Indexes, 2>' is not
literal because it is not an aggregate and has no constexpr constructors other
than copy or move constructors
1202 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl<T>,
| ^
6 errors generated.
```
</details>
<details>
<summary>[code=1]
tools/clang/tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/UseRangesCheck.cpp.obj</summary>
```
FAILED: [code=1]
tools/clang/tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/UseRangesCheck.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DCLANG_BUILD_STATIC
-DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS
-D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE
-D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Itools\clang\tools\extra\clang-tidy\boost
-IC:\_work\llvm-project\llvm-project\clang-tools-extra\clang-tidy\boost
-Itools\clang\tools\extra\clang-tidy
-IC:\_work\llvm-project\llvm-project\clang\include -Itools\clang\include
-Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include /DWIN32 /D_WINDOWS
/Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive-
-Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion
-Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2
-MD /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes
/Fotools\clang\tools\extra\clang-tidy\boost\CMakeFiles\obj.clangTidyBoostModule.dir\UseRangesCheck.cpp.obj
/Fdtools\clang\tools\extra\clang-tidy\boost\CMakeFiles\obj.clangTidyBoostModule.dir\
-c --
C:\_work\llvm-project\llvm-project\clang-tools-extra\clang-tidy\boost\UseRangesCheck.cpp
C:\_work\llvm-project\llvm-project\clang-tools-extra\clang-tidy\boost\UseRangesCheck.cpp(205,30):
error: constexpr variable cannot have non-literal type 'const Signature' (aka
'const SmallVector<Indexes, 2>')
205 | static constexpr Signature SingleSig = {{0}};
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/SmallVector.h(1202,22):
note: 'SmallVector<clang::tidy::utils::UseRangesCheck::Indexes, 2>' is not
literal because it is not an aggregate and has no constexpr constructors other
than copy or move constructors
1202 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl<T>,
| ^
C:\_work\llvm-project\llvm-project\clang-tools-extra\clang-tidy\boost\UseRangesCheck.cpp(206,30):
error: constexpr variable cannot have non-literal type 'const Signature' (aka
'const SmallVector<Indexes, 2>')
206 | static constexpr Signature TwoSig = {{0}, {2}};
| ^
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/SmallVector.h(1202,22):
note: 'SmallVector<clang::tidy::utils::UseRangesCheck::Indexes, 2>' is not
literal because it is not an aggregate and has no constexpr constructors other
than copy or move constructors
1202 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl<T>,
| ^
2 errors generated.
```
</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/173406
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits