mirror of
https://github.com/intel/llvm.git
synced 2026-02-04 20:00:11 +08:00
Fix regression caused by recent refactoring where HTML and plist files would not get flushed out when using '-disable-free'.
llvm-svn: 77882
This commit is contained in:
@@ -234,6 +234,11 @@ void AnalysisConsumer::HandleTranslationUnit(ASTContext &C) {
|
||||
if (ObjCImplementationDecl* ID = dyn_cast<ObjCImplementationDecl>(*I))
|
||||
HandleCode(ID, 0, ObjCImplementationActions);
|
||||
}
|
||||
|
||||
// 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.
|
||||
PD.reset(NULL);
|
||||
}
|
||||
|
||||
void AnalysisConsumer::HandleCode(Decl* D, Stmt* Body, Actions& actions) {
|
||||
|
||||
Reference in New Issue
Block a user