diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-05 01:50:35 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-05 01:50:35 +0000 |
| commit | d1fe495464e4abc384565813cbf1cb8b130e5a6d (patch) | |
| tree | 6e1222dc004b8b8d75d99d363c4536a1dc0a59c9 /lib/Bitcode/Reader/BitcodeReader.h | |
| parent | 8b3fad9343111eec5931492fbd812ad578c71089 (diff) | |
| download | llvm-d1fe495464e4abc384565813cbf1cb8b130e5a6d.tar.gz llvm-d1fe495464e4abc384565813cbf1cb8b130e5a6d.tar.bz2 llvm-d1fe495464e4abc384565813cbf1cb8b130e5a6d.tar.xz | |
[C++11] Sink the iterator over a Value's users into the Value type
itself and teach it to convert between the non-const and const variants.
De-templatetize its usage in APIs to just use the const variant which
always works for those use cases. Also, rename its implementation to
reflect that it is an iterator over *users* not over *uses*.
This is a step toward providing both iterator and range support for
walking the *uses* distinct from the *users*. In a subsequent patch this
will get renamed to make it clear that this is an adaptor over the
fundamental use iterator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202923 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions
