Go to the documentation of this file.
9 #ifndef LLDB_UTILITY_OPTIONDEFINITION_H
10 #define LLDB_UTILITY_OPTIONDEFINITION_H
14 #include "llvm/ADT/StringExtras.h"
15 #include "llvm/Support/MathExtras.h"
58 #endif // LLDB_UTILITY_OPTIONDEFINITION_H
bool required
This option is required (in the current usage level).
OptionValidator * validator
If non-NULL, option is valid iff |validator->IsValid()|, otherwise always valid.
uint32_t completion_type
The kind of completion for this option.
const char * usage_text
Full text explaining what this options does and what (if any) argument to pass it.
const char * long_option
Full name for this option.
int option_has_arg
no_argument, required_argument or optional_argument
uint32_t usage_mask
Used to mark options that can be used together.
A class that represents a running process on the host machine.
OptionEnumValues enum_values
If not empty, an array of enum values.
lldb::CommandArgumentType argument_type
Type of argument this option takes.
int short_option
Single character for this option.
bool HasShortOption() const
Whether this has a short option character.