[cfe-commits] r77447 - /cfe/trunk/lib/Analysis/BugReporter.cpp

Zhongxing Xu xuzhongxing at gmail.com
Wed Jul 29 01:13:47 PDT 2009


Author: zhongxingxu
Date: Wed Jul 29 03:13:37 2009
New Revision: 77447

URL: http://llvm.org/viewvc/llvm-project?rev=77447&view=rev
Log:
add a fixme

Modified:
    cfe/trunk/lib/Analysis/BugReporter.cpp

Modified: cfe/trunk/lib/Analysis/BugReporter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/BugReporter.cpp?rev=77447&r1=77446&r2=77447&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/BugReporter.cpp (original)
+++ cfe/trunk/lib/Analysis/BugReporter.cpp Wed Jul 29 03:13:37 2009
@@ -1317,8 +1317,10 @@
       FlushReport(EQ);
     }
     
-    // Delete the BugType object.  This will also delete the equivalence
-    // classes.
+    // Delete the BugType object.  
+
+    // FIXME: this will *not* delete the BugReportEquivClasses, since FoldingSet
+    // only deletes the buckets, not the nodes themselves.
     delete BT;
   }
 





More information about the cfe-commits mailing list