Updated LLDB's use of the DiagnosticsEngine to

reflect a change to the initializer.

llvm-svn: 166657
This commit is contained in:
Sean Callanan 2012-10-25 01:00:25 +00:00
parent 79ae600e8f
commit ec8f1ef9db
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ ClangASTContext::getDiagnosticsEngine()
if (m_diagnostics_engine_ap.get() == NULL)
{
llvm::IntrusiveRefCntPtr<DiagnosticIDs> diag_id_sp(new DiagnosticIDs());
m_diagnostics_engine_ap.reset(new DiagnosticsEngine(diag_id_sp));
m_diagnostics_engine_ap.reset(new DiagnosticsEngine(diag_id_sp, new DiagnosticOptions()));
}
return m_diagnostics_engine_ap.get();
}