hans added a comment.
I still don't understand why this is breaking your build.
Assuming this is the line the first error refers to:
for (unsigned BinOp : {G_ADD, G_SUB, G_MUL, G_AND, G_OR, G_XOR, G_SHL}) {
I don't see how converting G_ADD, even if it is an int, to unsigned would be a
narrowing conversion.
I did a fresh checkout of LLVM and built with VS 19.00.2415.1 for x64:
> svn export http://llvm.org/svn/llvm-project/llvm/trunk llvmtest
> mkdir llvmtest\build
> cd llvmtest\build
> cmake -GNinja -DCMAKE_BUILD_TYPE=Release ..
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- The ASM compiler identification is MSVC
...
> ninja
...
And everything built fine.
There must be something different with your configuration.
https://reviews.llvm.org/D34279
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits