summaryrefslogtreecommitdiffstats
path: root/polly/lib/Analysis/ScopGraphPrinter.cpp
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2020-01-05 14:26:39 +0100
committerMark de Wever <koraq@xs4all.nl>2020-01-06 17:37:41 +0100
commit1d549cff48cd52b9967c3a70eeb61abf86444ac3 (patch)
tree022b6d049e0077d5e4bc1d13766643cff8e3d103 /polly/lib/Analysis/ScopGraphPrinter.cpp
parentea2c159f966be363d5c19df8d116d471604f7db5 (diff)
downloadbcm5719-llvm-1d549cff48cd52b9967c3a70eeb61abf86444ac3.tar.gz
bcm5719-llvm-1d549cff48cd52b9967c3a70eeb61abf86444ac3.zip
[NFC] Fixes -Wrange-loop-analysis warnings
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to -Wall. Differential Revision: https://reviews.llvm.org/D72210
Diffstat (limited to 'polly/lib/Analysis/ScopGraphPrinter.cpp')
-rw-r--r--polly/lib/Analysis/ScopGraphPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Analysis/ScopGraphPrinter.cpp b/polly/lib/Analysis/ScopGraphPrinter.cpp
index 8f5d6d25033..53affb15d6a 100644
--- a/polly/lib/Analysis/ScopGraphPrinter.cpp
+++ b/polly/lib/Analysis/ScopGraphPrinter.cpp
@@ -178,7 +178,7 @@ struct DOTGraphTraits<ScopDetectionWrapperPass *>
RegionInfo *RI = R->getRegionInfo();
- for (const auto &BB : R->blocks())
+ for (BasicBlock *BB : R->blocks())
if (RI->getRegionFor(BB) == R)
O.indent(2 * (depth + 1))
<< "Node"
OpenPOWER on IntegriCloud