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/Transform/ScheduleOptimizer.cpp b/polly/lib/Transform/ScheduleOptimizer.cpp index 6bf6718..36cccd8 100644 --- a/polly/lib/Transform/ScheduleOptimizer.cpp +++ b/polly/lib/Transform/ScheduleOptimizer.cpp
@@ -467,7 +467,7 @@ S.markAsOptimized(); - for (ScopStmt *Stmt : S) { + for (auto &Stmt : S) { isl_map *StmtSchedule; isl_set *Domain = Stmt->getDomain(); isl_union_map *StmtBand;