aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/AnalysisConsumer.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-12-15 09:32:42 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-12-15 09:32:42 +0000
commitda17fd50ad485fd2a1fc5c2f055caacf532992da (patch)
tree3c97b05bfc5cee19d9e336230720c32cd7dc28bf /lib/Frontend/AnalysisConsumer.cpp
parent8d09bafdcf870b72e8781279378e7e264499b230 (diff)
Add comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91430 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/AnalysisConsumer.cpp')
-rw-r--r--lib/Frontend/AnalysisConsumer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Frontend/AnalysisConsumer.cpp b/lib/Frontend/AnalysisConsumer.cpp
index a2c93e5c3f..a74bbc24ee 100644
--- a/lib/Frontend/AnalysisConsumer.cpp
+++ b/lib/Frontend/AnalysisConsumer.cpp
@@ -268,7 +268,8 @@ void AnalysisConsumer::HandleTranslationUnit(ASTContext &C) {
// Explicitly destroy the PathDiagnosticClient. This will flush its output.
// FIXME: This should be replaced with something that doesn't rely on
- // side-effects in PathDiagnosticClient's destructor.
+ // side-effects in PathDiagnosticClient's destructor. This is required when
+ // used with option -disable-free.
Mgr.reset(NULL);
}