diff options
Diffstat (limited to 'lldb/include/lldb/Interpreter/CommandObject.h')
-rw-r--r-- | lldb/include/lldb/Interpreter/CommandObject.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lldb/include/lldb/Interpreter/CommandObject.h b/lldb/include/lldb/Interpreter/CommandObject.h index 0fc1c61..ad5884e 100644 --- a/lldb/include/lldb/Interpreter/CommandObject.h +++ b/lldb/include/lldb/Interpreter/CommandObject.h @@ -77,17 +77,18 @@ public: explicit operator bool() const { return (help_callback != nullptr); } }; - struct ArgumentTableEntry // Entries in the main argument information table - { + /// Entries in the main argument information table. + struct ArgumentTableEntry { lldb::CommandArgumentType arg_type; const char *arg_name; CommandCompletions::CommonCompletionTypes completion_type; + OptionEnumValues enum_values; ArgumentHelpCallback help_function; const char *help_text; }; - struct CommandArgumentData // Used to build individual command argument lists - { + /// Used to build individual command argument lists. + struct CommandArgumentData { lldb::CommandArgumentType arg_type; ArgumentRepetitionType arg_repetition; /// This arg might be associated only with some particular option set(s). By @@ -199,8 +200,6 @@ public: virtual Options *GetOptions(); - static const ArgumentTableEntry *GetArgumentTable(); - static lldb::CommandArgumentType LookupArgumentName(llvm::StringRef arg_name); static const ArgumentTableEntry * |