LLVM API Documentation
#include <CommandLine.h>
Public Member Functions | |
bool | parse (Option &O, StringRef ArgName, StringRef Arg, unsigned &Val) |
virtual const char * | getValueName () const |
void | printOptionDiff (const Option &O, unsigned V, OptVal Default, size_t GlobalWidth) const |
virtual void | anchor () |
![]() | |
virtual | ~basic_parser_impl () |
enum ValueExpected | getValueExpectedFlagDefault () const |
void | getExtraOptionNames (SmallVectorImpl< const char * > &) |
void | initialize (Option &) |
size_t | getOptionWidth (const Option &O) const |
void | printOptionInfo (const Option &O, size_t GlobalWidth) const |
void | printOptionNoValue (const Option &O, size_t GlobalWidth) const |
Additional Inherited Members | |
![]() | |
typedef unsigned | parser_data_type |
typedef OptionValue< unsigned > | OptVal |
![]() | |
void | printOptionName (const Option &O, size_t GlobalWidth) const |
Definition at line 820 of file CommandLine.h.
|
virtual |
Reimplemented from llvm::cl::basic_parser_impl.
|
inlinevirtual |
Reimplemented from llvm::cl::basic_parser_impl.
Definition at line 826 of file CommandLine.h.
bool llvm::cl::parser< unsigned >::parse | ( | Option & | O, |
StringRef | ArgName, | ||
StringRef | Arg, | ||
unsigned & | Val | ||
) |
void llvm::cl::parser< unsigned >::printOptionDiff | ( | const Option & | O, |
unsigned | V, | ||
OptVal | Default, | ||
size_t | GlobalWidth | ||
) | const |