mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
Convert a bunch of loops to foreach. NFC.
This uses the new SDNode::op_values() iterator range committed in r240805. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240817 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -591,7 +591,7 @@ public:
|
||||
const SDValue &operator*() const { return I->get(); }
|
||||
};
|
||||
|
||||
iterator_range<value_op_iterator> op_values() {
|
||||
iterator_range<value_op_iterator> op_values() const {
|
||||
return iterator_range<value_op_iterator>(value_op_iterator(op_begin()),
|
||||
value_op_iterator(op_end()));
|
||||
}
|
||||
|
Reference in New Issue
Block a user