summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/BugReporter.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-07-29 08:13:37 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-07-29 08:13:37 +0000
commitc2394f0ad9d451e8d512415b35a585a13d0d5543 (patch)
treea60813481499af40e4d166a791ea207ada4adcf9 /clang/lib/Analysis/BugReporter.cpp
parent52bd6e8feef6266f141d5a7804a7ccdd4a25b37d (diff)
downloadbcm5719-llvm-c2394f0ad9d451e8d512415b35a585a13d0d5543.tar.gz
bcm5719-llvm-c2394f0ad9d451e8d512415b35a585a13d0d5543.zip
add a fixme
llvm-svn: 77447
Diffstat (limited to 'clang/lib/Analysis/BugReporter.cpp')
-rw-r--r--clang/lib/Analysis/BugReporter.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/Analysis/BugReporter.cpp b/clang/lib/Analysis/BugReporter.cpp
index 5640c3119ec..f00583e8c4f 100644
--- a/clang/lib/Analysis/BugReporter.cpp
+++ b/clang/lib/Analysis/BugReporter.cpp
@@ -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;
}
OpenPOWER on IntegriCloud