]> granicus.if.org Git - clang/commitdiff
add a fixme
authorZhongxing Xu <xuzhongxing@gmail.com>
Wed, 29 Jul 2009 08:13:37 +0000 (08:13 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Wed, 29 Jul 2009 08:13:37 +0000 (08:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77447 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/BugReporter.cpp

index 5640c3119ec5ecd43f197ad0c45fc51fb9babccb..f00583e8c4f7efac2f63289116dcf4efba81a438 100644 (file)
@@ -1317,8 +1317,10 @@ void BugReporter::FlushReports() {
       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;
   }