aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-09-29 22:59:30 +0000
committerZachary Turner <zturner@google.com>2016-09-29 22:59:30 +0000
commit27e610f9863b3e5e4df606864f51c7f9d2c71055 (patch)
tree6a471f323fb2413f666e3f33cff59e267721f897 /clang/lib/CodeGen/CodeGenModule.cpp
parente3e6474824ed29570a0beb0bf79e8f7173a208c9 (diff)
downloadllvm-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