mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-02 18:42:36 +00:00
One more -Wrange-loop-analysis cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235044 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c02e5dea0d
commit
f422262d55
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user