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 | 1a534ebef049cf3638ef76e207df287ea05015c3 (patch) | |
| tree | 015b391f44194ff8e07097500bb5cef45777ba06 /llvm/lib/Object/COFFObjectFile.cpp | |
| parent | 01c7d980439427ff8732bf139c3fdac0318ec58b (diff) | |
| download | llvm-1a534ebef049cf3638ef76e207df287ea05015c3.zip llvm-1a534ebef049cf3638ef76e207df287ea05015c3.tar.gz llvm-1a534ebef049cf3638ef76e207df287ea05015c3.tar.bz2 | |
[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.
llvm-svn: 202923
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
