mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 01:58:44 +08:00
[lldb] Remove {Get,Set}CloseInputOnEOF and deprecate SB equivalent (NFC)
These functions have been NO-OPs since 2014 (44d937820b). Remove them
and deprecate the corresponding functions in SBDebugger.
Differential revision: https://reviews.llvm.org/D158000
This commit is contained in:
@@ -1535,17 +1535,16 @@ bool SBDebugger::SetCurrentPlatformSDKRoot(const char *sysroot) {
|
||||
return false;
|
||||
}
|
||||
|
||||
LLDB_DEPRECATED("SBDebugger::GetCloseInputOnEOF() is deprecated.")
|
||||
bool SBDebugger::GetCloseInputOnEOF() const {
|
||||
LLDB_INSTRUMENT_VA(this);
|
||||
|
||||
return (m_opaque_sp ? m_opaque_sp->GetCloseInputOnEOF() : false);
|
||||
return false;
|
||||
}
|
||||
|
||||
LLDB_DEPRECATED("SBDebugger::SetCloseInputOnEOF() is deprecated.")
|
||||
void SBDebugger::SetCloseInputOnEOF(bool b) {
|
||||
LLDB_INSTRUMENT_VA(this, b);
|
||||
|
||||
if (m_opaque_sp)
|
||||
m_opaque_sp->SetCloseInputOnEOF(b);
|
||||
}
|
||||
|
||||
SBTypeCategory SBDebugger::GetCategory(const char *category_name) {
|
||||
|
||||
Reference in New Issue
Block a user