From: Zhongxing Xu Date: Tue, 15 Dec 2009 09:32:42 +0000 (+0000) Subject: Add comments. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da17fd50ad485fd2a1fc5c2f055caacf532992da;p=clang Add comments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91430 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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); }