diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-10-16 17:23:58 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-10-16 17:23:58 +0000 |
commit | 92c8c95943269de3a06c449573a9b3e432881e90 (patch) | |
tree | c9b33e5ddf748a2dc49cd7e87908c7ed9e015a48 /llvm/lib/Transforms/Utils/CloneModule.cpp | |
parent | 74246aaf89fc596dd018c63365d894d0fc4abe42 (diff) | |
download | bcm5719-llvm-92c8c95943269de3a06c449573a9b3e432881e90.tar.gz bcm5719-llvm-92c8c95943269de3a06c449573a9b3e432881e90.zip |
Use iterators and algorithms to possibly make this code a bit tidier
(also, the code executed once the element was found was split half
inside the loop and half after it - now put it all together after the
find operation)
I'm a bit concerned that this code is rather untested (commenting out
this whole function and running check-clang doesn't fail any tests)...
And I wish I had polymorphic lambdas.
llvm-svn: 219938
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions