]> granicus.if.org Git - clang/commitdiff
Add comments.
authorZhongxing Xu <xuzhongxing@gmail.com>
Tue, 15 Dec 2009 09:32:42 +0000 (09:32 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Tue, 15 Dec 2009 09:32:42 +0000 (09:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91430 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/AnalysisConsumer.cpp

index a2c93e5c3ff592bf70c7dd05c298566f43b2c45f..a74bbc24ee10b2cb260ff547b400555396ebcc01 100644 (file)
@@ -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);
 }