LLDB  mainline
Enumerations | Functions
Options.cpp File Reference
#include "lldb/Interpreter/Options.h"
#include <algorithm>
#include <bitset>
#include <map>
#include <set>
#include "lldb/Host/OptionParser.h"
#include "lldb/Interpreter/CommandCompletions.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Interpreter/CommandObject.h"
#include "lldb/Interpreter/CommandReturnObject.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/StreamString.h"
Include dependency graph for Options.cpp:

Go to the source code of this file.

Enumerations

enum  OptionDisplayType { eDisplayBestOption, eDisplayShortOption, eDisplayLongOption }
 

Functions

static bool PrintOption (const OptionDefinition &opt_def, OptionDisplayType display_type, const char *header, const char *footer, bool show_optional, Stream &strm)
 
static std::vector< char * > GetArgvForParsing (const Args &args)
 
static Args::const_iterator FindOriginalIter (const char *arg, const Args &original)
 
static size_t FindOriginalIndex (const char *arg, const Args &original)
 
static Args ReconstituteArgsAfterParsing (llvm::ArrayRef< char *> parsed, const Args &original)
 
static size_t FindArgumentIndexForOption (const Args &args, const Option &long_option)
 

Enumeration Type Documentation

◆ OptionDisplayType

Enumerator
eDisplayBestOption 
eDisplayShortOption 
eDisplayLongOption 

Definition at line 349 of file Options.cpp.

Function Documentation

◆ FindArgumentIndexForOption()

static size_t FindArgumentIndexForOption ( const Args args,
const Option long_option 
)
static

◆ FindOriginalIndex()

static size_t FindOriginalIndex ( const char *  arg,
const Args original 
)
static

◆ FindOriginalIter()

static Args::const_iterator FindOriginalIter ( const char *  arg,
const Args original 
)
static

◆ GetArgvForParsing()

static std::vector<char *> GetArgvForParsing ( const Args args)
static

◆ PrintOption()

static bool PrintOption ( const OptionDefinition &  opt_def,
OptionDisplayType  display_type,
const char *  header,
const char *  footer,
bool  show_optional,
Stream strm 
)
static

◆ ReconstituteArgsAfterParsing()

static Args ReconstituteArgsAfterParsing ( llvm::ArrayRef< char *>  parsed,
const Args original 
)
static