projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c02e5de
)
One more -Wrange-loop-analysis cleanup.
author
Richard Trieu
<rtrieu@google.com>
Wed, 15 Apr 2015 21:40:50 +0000
(21:40 +0000)
committer
Richard Trieu
<rtrieu@google.com>
Wed, 15 Apr 2015 21:40:50 +0000
(21:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235044
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/RegionPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/RegionPrinter.cpp
b/lib/Analysis/RegionPrinter.cpp
index ad83113ec930193564e254a98b8597b0d6c2c921..d7f5109848817f9db132d4eb50226ffc5e878928 100644
(file)
--- a/
lib/Analysis/RegionPrinter.cpp
+++ b/
lib/Analysis/RegionPrinter.cpp
@@
-123,7
+123,7
@@
struct DOTGraphTraits<RegionInfoPass*> : public DOTGraphTraits<RegionNode*> {
const RegionInfo &RI = *static_cast<const RegionInfo*>(R.getRegionInfo());
- for (
const auto &
BB : R.blocks())
+ for (
auto *
BB : R.blocks())
if (RI.getRegionFor(BB) == &R)
O.indent(2 * (depth + 1)) << "Node"
<< static_cast<const void*>(RI.getTopLevelRegion()->getBBNode(BB))