diff options
author | Zachary Turner <zturner@google.com> | 2016-09-29 22:59:30 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-09-29 22:59:30 +0000 |
commit | 27e610f9863b3e5e4df606864f51c7f9d2c71055 (patch) | |
tree | 6a471f323fb2413f666e3f33cff59e267721f897 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | e3e6474824ed29570a0beb0bf79e8f7173a208c9 (diff) | |
download | llvm-27e610f9863b3e5e4df606864f51c7f9d2c71055.zip llvm-27e610f9863b3e5e4df606864f51c7f9d2c71055.tar.gz llvm-27e610f9863b3e5e4df606864f51c7f9d2c71055.tar.bz2 |
Add llvm::enumerate() to STLExtras.
enumerate allows you to iterate over a range by pairing the
iterator's value with its index in the enumeration. This gives
you most of the benefits of using a for loop while still allowing
the range syntax.
llvm-svn: 282804
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions