diff options
author | Richard Trieu <rtrieu@google.com> | 2015-04-15 01:21:15 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2015-04-15 01:21:15 +0000 |
commit | 6b1aa5f5e17d019115365cc7722c380b5bb02dc7 (patch) | |
tree | 3f1f72a9f7185783ec4daf2862a67e23790431d8 /llvm/lib/Analysis/RegionPass.cpp | |
parent | bb61825cd5d87872cb0bf8beb3af15c590e86974 (diff) | |
download | bcm5719-llvm-6b1aa5f5e17d019115365cc7722c380b5bb02dc7.tar.gz bcm5719-llvm-6b1aa5f5e17d019115365cc7722c380b5bb02dc7.zip |
Change range-based for-loops to be -Wrange-loop-analysis clean.
No functionality change.
llvm-svn: 234963
Diffstat (limited to 'llvm/lib/Analysis/RegionPass.cpp')
-rw-r--r-- | llvm/lib/Analysis/RegionPass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/RegionPass.cpp b/llvm/lib/Analysis/RegionPass.cpp index cd1e944d46a..5e1cdd48a78 100644 --- a/llvm/lib/Analysis/RegionPass.cpp +++ b/llvm/lib/Analysis/RegionPass.cpp @@ -199,7 +199,7 @@ public: bool runOnRegion(Region *R, RGPassManager &RGM) override { Out << Banner; - for (const auto &BB : R->blocks()) { + for (const auto *BB : R->blocks()) { if (BB) BB->print(Out); else |