[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:
Jonas Devlieghere
2023-08-15 10:24:13 -07:00
parent cad3130a23
commit 23312cde45
3 changed files with 3 additions and 17 deletions

View File

@@ -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) {