diff options
Diffstat (limited to 'include/lldb/Interpreter/CommandObjectMultiword.h')
-rw-r--r-- | include/lldb/Interpreter/CommandObjectMultiword.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/lldb/Interpreter/CommandObjectMultiword.h b/include/lldb/Interpreter/CommandObjectMultiword.h index e1ad2940c383..3b7d1868a855 100644 --- a/include/lldb/Interpreter/CommandObjectMultiword.h +++ b/include/lldb/Interpreter/CommandObjectMultiword.h @@ -41,6 +41,12 @@ public: { return true; } + + CommandObjectMultiword* + GetAsMultiwordCommand () override + { + return this; + } bool LoadSubCommand(const char *cmd_name, @@ -96,6 +102,11 @@ public: } protected: + CommandObject::CommandMap& + GetSubcommandDictionary () + { + return m_subcommand_dict; + } CommandObject::CommandMap m_subcommand_dict; bool m_can_be_removed; @@ -126,6 +137,9 @@ public: bool IsMultiwordObject() override; + CommandObjectMultiword* + GetAsMultiwordCommand () override; + void GenerateHelpText (Stream &result) override; |