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/lib/CIR/CodeGen/CMakeFiles/obj.clangCIR.dir/CIRGenFunction.cpp.obj</summary>
```
FAILED: [code=1]
tools/clang/lib/CIR/CodeGen/CMakeFiles/obj.clangCIR.dir/CIRGenFunction.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DCLANG_BUILD_STATIC
-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_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-IC:\_work\llvm-project\llvm-project\build\tools\clang\lib\CIR\CodeGen
-IC:\_work\llvm-project\llvm-project\clang\lib\CIR\CodeGen
-IC:\_work\llvm-project\llvm-project\clang\include
-IC:\_work\llvm-project\llvm-project\build\tools\clang\include
-IC:\_work\llvm-project\llvm-project\build\include
-IC:\_work\llvm-project\llvm-project\llvm\include
-IC:\_work\llvm-project\llvm-project\llvm\..\mlir\include
-IC:\_work\llvm-project\llvm-project\build\tools\mlir\include
-I"C:\BuildTools\DIA SDK\include" /DWIN32 /D_WINDOWS /Zc:inline
/Zc:__cplusplus /Oi /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 -std:c++17 -MD
-UNDEBUG /Brepro /EHs-c- /GR- /showIncludes
/Fotools\clang\lib\CIR\CodeGen\CMakeFiles\obj.clangCIR.dir\CIRGenFunction.cpp.obj
/Fdtools\clang\lib\CIR\CodeGen\CMakeFiles\obj.clangCIR.dir\ -c --
C:\_work\llvm-project\llvm-project\clang\lib\CIR\CodeGen\CIRGenFunction.cpp
C:\_work\llvm-project\llvm-project\clang\lib\CIR\CodeGen\CIRGenFunction.cpp(1258,60):
error: no viable conversion from 'mlir::Attribute' to 'mlir::TypedAttr'
1258 | builder.getConstant(getLoc(e->getSourceRange()), result);
| ^~~~~~
C:\_work\llvm-project\llvm-project\llvm\..\mlir\include\mlir/Support/InterfaceSupport.h(102,3):
note: candidate inherited constructor not viable: no known conversion from
'mlir::Attribute' to 'std::nullptr_t' for 1st argument
102 | Interface(std::nullptr_t) : BaseType(ValueT()), conceptImpl(nullptr) {}
| ^ ~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\build\tools\mlir\include\mlir/IR/BuiltinAttributeInterfaces.h.inc(197,82):
note: constructor from base class 'AttributeInterface<mlir::TypedAttr,
mlir::detail::TypedAttrInterfaceTraits>' inherited here
197 | using ::mlir::AttributeInterface<TypedAttr,
detail::TypedAttrInterfaceTraits>::AttributeInterface;
|
^
C:\_work\llvm-project\llvm-project\build\tools\mlir\include\mlir/IR/BuiltinAttributeInterfaces.h.inc(195,7):
note: candidate constructor (the implicit copy constructor) not viable: cannot
bind base class object of type 'mlir::Attribute' to derived class reference
'const TypedAttr &' for 1st argument
195 | class TypedAttr : public ::mlir::AttributeInterface<TypedAttr,
detail::TypedAttrInterfaceTraits> {
| ^~~~~~~~~
C:\_work\llvm-project\llvm-project\build\tools\mlir\include\mlir/IR/BuiltinAttributeInterfaces.h.inc(195,7):
note: candidate constructor (the implicit move constructor) not viable: cannot
bind base class object of type 'mlir::Attribute' to derived class reference
'TypedAttr &&' for 1st argument
195 | class TypedAttr : public ::mlir::AttributeInterface<TypedAttr,
detail::TypedAttrInterfaceTraits> {
| ^~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\..\mlir\include\mlir/Support/InterfaceSupport.h(108,3):
note: candidate template ignored: requirement
'std::is_base_of<mlir::detail::Interface<mlir::TypedAttr, mlir::Attribute,
mlir::detail::TypedAttrInterfaceTraits, mlir::Attribute,
mlir::AttributeTrait::TraitBase>::Trait<mlir::Attribute>,
mlir::Attribute>::value' was not satisfied [with T = mlir::Attribute]
108 | Interface(T t)
| ^
C:\_work\llvm-project\llvm-project\llvm\..\mlir\include\mlir/Support/InterfaceSupport.h(96,12):
note: explicit constructor is not a candidate
96 | explicit Interface(ValueT t = ValueT())
| ^
C:\_work\llvm-project\llvm-project\clang\include\clang/CIR/Dialect/Builder/CIRBaseBuilder.h(94,67):
note: passing argument to parameter 'attr' here
94 | cir::ConstantOp getConstant(mlir::Location loc, mlir::TypedAttr attr) {
| ^
1 error 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/237421
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits