projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67b2dbd
)
[mlir] Add missing llvm::iterator_facade_base<...>::operator++ for
author
Haojian Wu
<hokein.wu@gmail.com>
Fri, 24 Apr 2020 12:02:58 +0000
(14:02 +0200)
committer
Haojian Wu
<hokein.wu@gmail.com>
Fri, 24 Apr 2020 12:02:58 +0000
(14:02 +0200)
UseIterator;
This would fix our internal build.
mlir/include/mlir/IR/Operation.h
patch
|
blob
|
history
diff --git
a/mlir/include/mlir/IR/Operation.h
b/mlir/include/mlir/IR/Operation.h
index
f715ac5
..
e49be55
100644
(file)
--- a/
mlir/include/mlir/IR/Operation.h
+++ b/
mlir/include/mlir/IR/Operation.h
@@
-508,6
+508,8
@@
public:
/// use.
explicit UseIterator(Operation *op, bool end = false);
+ using llvm::iterator_facade_base<UseIterator, std::forward_iterator_tag,
+ OpOperand>::operator++;
UseIterator &operator++();
OpOperand *operator->() const { return use.getOperand(); }
OpOperand &operator*() const { return *use.getOperand(); }