diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-04-11 01:50:01 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-04-11 01:50:01 +0000 |
commit | ceec2bdaa52186b0bf92a6efe1545d093d70eb60 (patch) | |
tree | f6b5198fc202c67406f7a74387249acf43921cb3 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5d049b9732b29b6d46abe881efccb8a04be7cdff (diff) | |
download | llvm-ceec2bdaa52186b0bf92a6efe1545d093d70eb60.zip llvm-ceec2bdaa52186b0bf92a6efe1545d093d70eb60.tar.gz llvm-ceec2bdaa52186b0bf92a6efe1545d093d70eb60.tar.bz2 |
Implement depth_first and inverse_depth_first range factory functions.
Also updated as many loops as I could find using df_begin/idf_begin -
strangely I found no uses of idf_begin. Is that just used out of tree?
Also a few places couldn't use df_begin because either they used the
member functions of the depth first iterators or had specific ordering
constraints (I added a comment in the latter case).
Based on a patch by Jim Grosbach. (Jim - you just had iterator_range<T>
where you needed iterator_range<idf_iterator<T>>)
llvm-svn: 206016
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions