[Lldb-commits] [lldb] r166657 - /lldb/trunk/source/Symbol/ClangASTContext.cpp

Sean Callanan scallanan at apple.com
Wed Oct 24 18:00:26 PDT 2012


Author: spyffe
Date: Wed Oct 24 20:00:25 2012
New Revision: 166657

URL: http://llvm.org/viewvc/llvm-project?rev=166657&view=rev
Log:
Updated LLDB's use of the DiagnosticsEngine to
reflect a change to the initializer.

Modified:
    lldb/trunk/source/Symbol/ClangASTContext.cpp

Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=166657&r1=166656&r2=166657&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Wed Oct 24 20:00:25 2012
@@ -565,7 +565,7 @@
     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();
 }





More information about the lldb-commits mailing list