diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2023-10-20 12:09:43 -0700 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2023-10-20 12:16:29 -0700 |
commit | 35e4a28f04209a25638a6ab7eea9760d41ea21b8 (patch) | |
tree | 3222f01aac7680b0b85ed155e25811e6556188d4 /clang/lib/Lex/ModuleMap.cpp | |
parent | 47f0f8ca47408ad6b0960a44b6c1532ed38443f1 (diff) | |
download | llvm-35e4a28f04209a25638a6ab7eea9760d41ea21b8.zip llvm-35e4a28f04209a25638a6ab7eea9760d41ea21b8.tar.gz llvm-35e4a28f04209a25638a6ab7eea9760d41ea21b8.tar.bz2 |
Fix MLIR gcc7 build: ambiguous overload from user conversion
The implicit conversion from an op to a Value is not triggered for some reasons:
/LoopLikeSCFOpsTest.cpp:78:57: error: call of overloaded ‘ValueRange(mlir::arith::ConstantIndexOp)’ is ambiguous
b.create<scf::ParallelOp>(loc, ValueRange(lb.get()), ValueRange(ub.get()),
explicitly taking the result of the op should solve it.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions