From ec8f1ef9db3417d2a091f308fe239fb779aba92b Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Thu, 25 Oct 2012 01:00:25 +0000 Subject: [PATCH] Updated LLDB's use of the DiagnosticsEngine to reflect a change to the initializer. llvm-svn: 166657 --- lldb/source/Symbol/ClangASTContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp index 6a77c3fc729b..4ce9aa4c34d5 100644 --- a/lldb/source/Symbol/ClangASTContext.cpp +++ b/lldb/source/Symbol/ClangASTContext.cpp @@ -565,7 +565,7 @@ ClangASTContext::getDiagnosticsEngine() if (m_diagnostics_engine_ap.get() == NULL) { llvm::IntrusiveRefCntPtr 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(); }