aboutsummaryrefslogtreecommitdiff
path: root/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
commitd9b401c0856fb2194855e8ee5f80908b91b598c4 (patch)
tree75d698bc860ef2b93c0c7e1de69d69eb8fc06ecb /lib/Analysis/BugReporter.cpp
parent5a5c60d273130990a7da770d7f5dc809920d3b65 (diff)
add a fixme
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BugReporter.cpp')
-rw-r--r--lib/Analysis/BugReporter.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Analysis/BugReporter.cpp b/lib/Analysis/BugReporter.cpp
index 5640c3119e..f00583e8c4 100644
--- a/lib/Analysis/BugReporter.cpp
+++ b/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;
}