Updated LLDB's use of the DiagnosticsEngine to
authorSean Callanan <scallanan@apple.com>
Thu, 25 Oct 2012 01:00:25 +0000 (01:00 +0000)
committerSean Callanan <scallanan@apple.com>
Thu, 25 Oct 2012 01:00:25 +0000 (01:00 +0000)
reflect a change to the initializer.

llvm-svn: 166657

lldb/source/Symbol/ClangASTContext.cpp

index 6a77c3fc729b1e1026b65541647b39625d59d842..4ce9aa4c34d537f32772e64657d0034045610d22 100644 (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();
 }