[Lldb-commits] [lldb] 37eb15a - [lldb] Devirtualize IOHandler::{IsActive, SetIsDone, GetIsDone} (NFC)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 2 15:55:56 PST 2022
Author: Jonas Devlieghere
Date: 2022-03-02T15:55:49-08:00
New Revision: 37eb15ad7ab25e0135b759f3ecdd6ada5ce82330
URL: https://github.com/llvm/llvm-project/commit/37eb15ad7ab25e0135b759f3ecdd6ada5ce82330
DIFF: https://github.com/llvm/llvm-project/commit/37eb15ad7ab25e0135b759f3ecdd6ada5ce82330.diff
LOG: [lldb] Devirtualize IOHandler::{IsActive,SetIsDone,GetIsDone} (NFC)
There are no implementations overriding these methods.
Differential revision: https://reviews.llvm.org/D120766
Added:
Modified:
lldb/include/lldb/Core/IOHandler.h
Removed:
################################################################################
diff --git a/lldb/include/lldb/Core/IOHandler.h b/lldb/include/lldb/Core/IOHandler.h
index 7011dd1e8e047..c717d1d872564 100644
--- a/lldb/include/lldb/Core/IOHandler.h
+++ b/lldb/include/lldb/Core/IOHandler.h
@@ -85,11 +85,11 @@ class IOHandler {
virtual void GotEOF() = 0;
- virtual bool IsActive() { return m_active && !m_done; }
+ bool IsActive() { return m_active && !m_done; }
- virtual void SetIsDone(bool b) { m_done = b; }
+ void SetIsDone(bool b) { m_done = b; }
- virtual bool GetIsDone() { return m_done; }
+ bool GetIsDone() { return m_done; }
Type GetType() const { return m_type; }
More information about the lldb-commits
mailing list