forked from OSchip/llvm-project
Updated LLDB's use of the DiagnosticsEngine to
reflect a change to the initializer. llvm-svn: 166657
This commit is contained in:
parent
79ae600e8f
commit
ec8f1ef9db
|
@ -565,7 +565,7 @@ ClangASTContext::getDiagnosticsEngine()
|
||||||
if (m_diagnostics_engine_ap.get() == NULL)
|
if (m_diagnostics_engine_ap.get() == NULL)
|
||||||
{
|
{
|
||||||
llvm::IntrusiveRefCntPtr<DiagnosticIDs> diag_id_sp(new DiagnosticIDs());
|
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();
|
return m_diagnostics_engine_ap.get();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue