summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/IOHandler.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-08-06 04:45:55 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-08-06 04:45:55 +0000
commit3c3dce25453af805858ad20183b1429f9372fe82 (patch)
tree444d539fd682384fb40e1bcffa995c4b2343a951 /lldb/source/Core/IOHandler.cpp
parent78dfc945b098bb4ed16c641437e7887708327af8 (diff)
downloadbcm5719-llvm-3c3dce25453af805858ad20183b1429f9372fe82.tar.gz
bcm5719-llvm-3c3dce25453af805858ad20183b1429f9372fe82.zip
[Gardening] Remove dead code from IOHandler (NFC)
These functions are not referenced. llvm-svn: 367976
Diffstat (limited to 'lldb/source/Core/IOHandler.cpp')
-rw-r--r--lldb/source/Core/IOHandler.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/lldb/source/Core/IOHandler.cpp b/lldb/source/Core/IOHandler.cpp
index a7dbf3c28aa..9c21b569ec2 100644
--- a/lldb/source/Core/IOHandler.cpp
+++ b/lldb/source/Core/IOHandler.cpp
@@ -957,8 +957,6 @@ public:
void SetBackground(int color_pair_idx) {
::wbkgd(m_window, COLOR_PAIR(color_pair_idx));
}
- void UnderlineOn() { AttributeOn(A_UNDERLINE); }
- void UnderlineOff() { AttributeOff(A_UNDERLINE); }
void PutCStringTruncated(const char *s, int right_pad) {
int bytes_left = GetWidth() - GetCursorX();
@@ -1210,19 +1208,6 @@ public:
return eKeyNotHandled;
}
- bool SetActiveWindow(Window *window) {
- const size_t num_subwindows = m_subwindows.size();
- for (size_t i = 0; i < num_subwindows; ++i) {
- if (m_subwindows[i].get() == window) {
- m_prev_active_window_idx = m_curr_active_window_idx;
- ::top_panel(window->m_panel);
- m_curr_active_window_idx = i;
- return true;
- }
- }
- return false;
- }
-
WindowSP GetActiveWindow() {
if (!m_subwindows.empty()) {
if (m_curr_active_window_idx >= m_subwindows.size()) {
@@ -1407,8 +1392,6 @@ public:
int GetKeyValue() const { return m_key_value; }
- void SetKeyValue(int key_value) { m_key_value = key_value; }
-
std::string &GetName() { return m_name; }
std::string &GetKeyName() { return m_key_name; }
OpenPOWER on IntegriCloud