commit | 679dfafd33383e09d3a5bebf5ce83e774a6d4d15 | [log] [tgz] |
---|---|---|
author | Tobias Grosser <tobias@grosser.es> | Sat May 23 05:14:09 2015 +0000 |
committer | Tobias Grosser <tobias@grosser.es> | Sat May 23 05:14:09 2015 +0000 |
tree | ffe38a6e79b2c7b5a7b73a03e9c673b6a3ce1130 | |
parent | 5df78fa35b75e51014884ec5eae7fc0ff83f7dd8 [diff] [blame] |
Use unique_ptr to clarify ownership of ScopStmt llvm-svn: 238090
diff --git a/polly/lib/CodeGen/IRBuilder.cpp b/polly/lib/CodeGen/IRBuilder.cpp index 53eafb8..ff1ba1b 100644 --- a/polly/lib/CodeGen/IRBuilder.cpp +++ b/polly/lib/CodeGen/IRBuilder.cpp
@@ -59,7 +59,7 @@ OtherAliasScopeListMap.clear(); SetVector<Value *> BasePtrs; - for (ScopStmt *Stmt : S) + for (auto &Stmt : S) for (MemoryAccess *MA : *Stmt) BasePtrs.insert(MA->getBaseAddr());