summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-03-13 16:24:10 +0000
committerZachary Turner <zturner@google.com>2017-03-13 16:24:10 +0000
commit309a0889a48c3fab512099836539eb20c53ba222 (patch)
treeedf554ac4e6c1db263564bee043dee72aac9db76 /clang/lib/Frontend/CompilerInvocation.cpp
parent37b91512d3d5852205e2bb880e9442f36843441a (diff)
downloadbcm5719-llvm-309a0889a48c3fab512099836539eb20c53ba222.tar.gz
bcm5719-llvm-309a0889a48c3fab512099836539eb20c53ba222.zip
[ADT] Improve the genericity of llvm::enumerate().
There were some issues in the implementation of enumerate() preventing it from being used in various contexts. These were all related to the fact that it did not supporter llvm's iterator_facade_base class. So this patch adds support for that and additionally exposes a new helper method to_vector() that will evaluate an entire range and store the results in a vector. Differential Revision: https://reviews.llvm.org/D30853 llvm-svn: 297633
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud