LLVM: llvm:πŸ†‘:parser< DataType > Class Template Reference (original) (raw)

#include "[llvm/Support/CommandLine.h](CommandLine%5F8h%5Fsource.html)"

Public Types
using parser_data_type = DataType
Public Member Functions
parser (Option &O)
unsigned getNumOptions () const override
StringRef getOption (unsigned N) const override
StringRef getDescription (unsigned N) const override
const GenericOptionValue & getOptionValue (unsigned N) const override
bool parse (Option &O, StringRef ArgName, StringRef Arg, DataType &V)
template
void addLiteralOption (StringRef Name, const DT &V, StringRef HelpStr)
Add an entry to the mapping table.
void removeLiteralOption (StringRef Name)
Remove the specified option.
Public Member Functions inherited from llvm:πŸ†‘:generic_parser_base
generic_parser_base (Option &O)
virtual ~generic_parser_base ()=default
virtual size_t getOptionWidth (const Option &O) const
virtual void printOptionInfo (const Option &O, size_t GlobalWidth) const
void printGenericOptionDiff (const Option &O, const GenericOptionValue &V, const GenericOptionValue &Default, size_t GlobalWidth) const
template
void printOptionDiff (const Option &O, const AnyOptionValue &V, const AnyOptionValue &Default, size_t GlobalWidth) const
void initialize ()
void getExtraOptionNames (SmallVectorImpl< StringRef > &OptionNames)
enum ValueExpected getValueExpectedFlagDefault () const
unsigned findOption (StringRef Name)

template
class llvm:πŸ†‘:parser< DataType >

Definition at line 825 of file CommandLine.h.

β—† parser_data_type

β—† addLiteralOption()

template

template

β—† getDescription()

β—† getNumOptions()

β—† getOption()

β—† getOptionValue()

β—† parse()

β—† removeLiteralOption()

β—† Values


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