diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2021-06-08 13:18:57 +0000 |
---|---|---|
committer | Guillaume Chatelet <gchatelet@google.com> | 2021-06-08 13:18:57 +0000 |
commit | e772216e708937988c039420d2c559568f91ae27 (patch) | |
tree | 5b704518dae98546167f0c5ed036946d03fb3ec3 /llvm/lib/Support/TargetParser.cpp | |
parent | 386b66b2fc297cda121a3cc8a36887a6ecbcfc68 (diff) | |
download | llvm-e772216e708937988c039420d2c559568f91ae27.zip llvm-e772216e708937988c039420d2c559568f91ae27.tar.gz llvm-e772216e708937988c039420d2c559568f91ae27.tar.bz2 |
[llvm] Make Sequence reverse-iterable
This patch simplifies the implementation of Sequence and makes it compatible with llvm::reverse.
It exposes the reverse iterators through rbegin/rend which prevents a dangling reference in std::reverse_iterator::operator++().
Differential Revision: https://reviews.llvm.org/D102679
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions