]> granicus.if.org Git - llvm/commit
Add llvm::for_each as a range-based extensions to <algorithm> and make use of it...
authorAaron Ballman <aaron@aaronballman.com>
Fri, 3 Nov 2017 20:01:25 +0000 (20:01 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 3 Nov 2017 20:01:25 +0000 (20:01 +0000)
commitbdc30c02fb2f7dceab4499c871fc00aa9b7543b9
treee6e7882f24aa24d956c0ea29398ee30dfc78e8dd
parentb72a3a9da434080da25914c9eed94416b1adee40
Add llvm::for_each as a range-based extensions to <algorithm> and make use of it in some cases where it is a more clear alternative to std::for_each.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317356 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/ADT/STLExtras.h
lib/LTO/LTOCodeGenerator.cpp
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
lib/Transforms/Utils/SplitModule.cpp
tools/llvm-cxxdump/llvm-cxxdump.cpp
tools/llvm-mcmarkup/llvm-mcmarkup.cpp
tools/llvm-nm/llvm-nm.cpp
tools/llvm-objdump/llvm-objdump.cpp
tools/llvm-pdbutil/llvm-pdbutil.cpp
tools/llvm-readobj/llvm-readobj.cpp
tools/llvm-size/llvm-size.cpp
unittests/ADT/STLExtrasTest.cpp