[lldb][NFC] Remove DiagnosticManager::CopyDiagnostics
authorRaphael Isemann <teemperor@gmail.com>
Mon, 29 Jul 2019 07:37:17 +0000 (07:37 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Mon, 29 Jul 2019 07:37:17 +0000 (07:37 +0000)
commit822c58704bc8a1432e1f207d00de1c1f7bd7d0da
tree00c6e10b4df32637fdf4d94c83c2b22300c8c37d
parentd524c17029ef3b4d13bcb00710ce9f0a9ce76942
[lldb][NFC] Remove DiagnosticManager::CopyDiagnostics

The Diagnostic class in LLDB is suppossed to be inherited from,
so just copying the diagnostics like this is wrong. The function
is also unused, so lets just get rid of it instead of creating
some cloning facility for it.

llvm-svn: 367201
lldb/include/lldb/Expression/DiagnosticManager.h
lldb/source/Expression/DiagnosticManager.cpp