aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-09-13 14:14:23 -0700
committerKazu Hirata <kazu@google.com>2022-09-13 14:14:23 -0700
commit588628de3e954d8029b20841aceb612e328ae104 (patch)
tree69a2656187762b48be391d509dc7997f105f31e1 /llvm/lib/CodeGen/MachineOperand.cpp
parent81f8788528886ee611041e1f4ee54eea8bbfa277 (diff)
downloadllvm-588628de3e954d8029b20841aceb612e328ae104.zip
llvm-588628de3e954d8029b20841aceb612e328ae104.tar.gz
llvm-588628de3e954d8029b20841aceb612e328ae104.tar.bz2
[BOLT] Stop using std::iterator (NFC)
Without this patch, I get warnings like: bolt/include/bolt/Core/BinaryContext.h:108:19: error: 'iterator<std::bidirectional_iterator_tag, llvm::bolt::BinarySection>' is deprecated [-Werror,-Wdeprecated-declarations] This patch fixes those warnings by defining iterator_category, value_type, etc. This patch intentionally leaves duplicate types like FilterIterator::T and FilterIterator::PointerT intact to avoid mixing the fix and the cleanup. Differential Revision: https://reviews.llvm.org/D133650
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions