diff options
| author | Kazu Hirata <kazu@google.com> | 2022-09-13 14:14:23 -0700 |
|---|---|---|
| committer | Kazu Hirata <kazu@google.com> | 2022-09-13 14:14:23 -0700 |
| commit | 588628de3e954d8029b20841aceb612e328ae104 (patch) | |
| tree | 69a2656187762b48be391d509dc7997f105f31e1 /lldb/packages/Python/lldbsuite/test/lldbinline.py | |
| parent | 81f8788528886ee611041e1f4ee54eea8bbfa277 (diff) | |
| download | llvm-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 'lldb/packages/Python/lldbsuite/test/lldbinline.py')
0 files changed, 0 insertions, 0 deletions
