[PATCH] D20912: [Polly][GSoC 2016]Update ScopBuilder's memory management

Hongbin Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 15:00:06 PDT 2016


etherzhhb added inline comments.

================
Comment at: lib/Analysis/ScopInfo.cpp:4903
@@ +4902,3 @@
+  ScopBuilder *SB;
+  SB = new ScopBuilder(R, AC, AA, DL, DT, LI, SD, SE);
+  if (SB) {
----------------
New without delete?


http://reviews.llvm.org/D20912





More information about the llvm-commits mailing list