LLDB  mainline
Static Public Member Functions | List of all members
lldb_private::OptionArgParser Struct Reference

#include <OptionArgParser.h>

Static Public Member Functions

static lldb::addr_t ToAddress (const ExecutionContext *exe_ctx, llvm::StringRef s, lldb::addr_t fail_value, Status *error)
 
static bool ToBoolean (llvm::StringRef s, bool fail_value, bool *success_ptr)
 
static char ToChar (llvm::StringRef s, char fail_value, bool *success_ptr)
 
static int64_t ToOptionEnum (llvm::StringRef s, const OptionEnumValues &enum_values, int32_t fail_value, Status &error)
 
static lldb::ScriptLanguage ToScriptLanguage (llvm::StringRef s, lldb::ScriptLanguage fail_value, bool *success_ptr)
 
static Status ToFormat (const char *s, lldb::Format &format, size_t *byte_size_ptr)
 

Detailed Description

Definition at line 16 of file OptionArgParser.h.

Member Function Documentation

◆ ToAddress()

lldb::addr_t OptionArgParser::ToAddress ( const ExecutionContext exe_ctx,
llvm::StringRef  s,
lldb::addr_t  fail_value,
Status error 
)
static

◆ ToBoolean()

bool OptionArgParser::ToBoolean ( llvm::StringRef  s,
bool  fail_value,
bool *  success_ptr 
)
static

◆ ToChar()

char OptionArgParser::ToChar ( llvm::StringRef  s,
char  fail_value,
bool *  success_ptr 
)
static

Definition at line 35 of file OptionArgParser.cpp.

Referenced by lldb_private::Property::Property().

◆ ToFormat()

Status OptionArgParser::ToFormat ( const char *  s,
lldb::Format format,
size_t *  byte_size_ptr 
)
static

◆ ToOptionEnum()

int64_t OptionArgParser::ToOptionEnum ( llvm::StringRef  s,
const OptionEnumValues &  enum_values,
int32_t  fail_value,
Status error 
)
static

◆ ToScriptLanguage()

lldb::ScriptLanguage OptionArgParser::ToScriptLanguage ( llvm::StringRef  s,
lldb::ScriptLanguage  fail_value,
bool *  success_ptr 
)
static

The documentation for this struct was generated from the following files: