diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2022-04-08 12:36:41 +0200 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2022-04-08 12:55:09 +0200 |
commit | 932f27dc1f0334eb60e06d34536d93674c923672 (patch) | |
tree | 9cdaadf1fc55d2c947bf84068a7b4c64c8804d26 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 6d97ca690c4d9f59226d06e30233e247a3308e9b (diff) | |
download | llvm-932f27dc1f0334eb60e06d34536d93674c923672.zip llvm-932f27dc1f0334eb60e06d34536d93674c923672.tar.gz llvm-932f27dc1f0334eb60e06d34536d93674c923672.tar.bz2 |
Disambiguate conversion cast for GCC
GCC 9 has problems with this.
mlir/include/mlir/IR/OperationSupport.h: In member function ‘mlir::Value mlir::MutableOperandRange::operator[](unsigned int) const’:
mlir/include/mlir/IR/OperationSupport.h:912:43: error: call of overloaded ‘OperandRange(const mlir::MutableOperandRange&)’ is ambiguous
912 | return static_cast<OperandRange>(*this)[index];
|
mlir/include/mlir/IR/OperationSupport.h:789:21: note: candidate: mlir::OperandRange::OperandRange(const llvm::iterator_range<llvm::detail::indexed_accessor_
range_base<mlir::OperandRange, mlir::OpOperand*, mlir::Value, mlir::Value, mlir::Value>::iterator>&)
using RangeBaseT::RangeBaseT;
^~~~~~~~~~
mlir/include/mlir/IR/OperationSupport.h:786:7: note: candidate: constexpr mlir::OperandRange::OperandRange(const mlir::OperandRange&)
class OperandRange final : public llvm::detail::indexed_accessor_range_base<
^~~~~~~~~~~~
mlir/include/mlir/IR/OperationSupport.h:786:7: note: candidate: constexpr mlir::OperandRange::OperandRange(mlir::OperandRange&&)
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions