[PATCH] D72210: [NFC] Fixes -Wrange-loop-analysis warnings

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 00:26:02 PST 2020


MaskRay accepted this revision.
MaskRay added inline comments.


================
Comment at: polly/lib/Analysis/ScopGraphPrinter.cpp:181
 
-    for (const auto &BB : R->blocks())
+    for (auto *BB : R->blocks())
       if (RI->getRegionFor(BB) == R)
----------------
`auto` -> `BasicBlock`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72210/new/

https://reviews.llvm.org/D72210





More information about the llvm-commits mailing list