LLVM API Documentation
#include <CommandLine.h>
Public Member Functions | |
bool | parse (Option &O, StringRef ArgName, StringRef Arg, bool &Val) |
template<class Opt > | |
void | initialize (Opt &O) |
enum ValueExpected | getValueExpectedFlagDefault () const |
virtual const char * | getValueName () const |
void | printOptionDiff (const Option &O, bool 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 bool | parser_data_type |
typedef OptionValue< bool > | OptVal |
![]() | |
void | printOptionName (const Option &O, size_t GlobalWidth) const |
Definition at line 742 of file CommandLine.h.
|
virtual |
Reimplemented from llvm::cl::basic_parser_impl.
|
inline |
Definition at line 754 of file CommandLine.h.
References llvm::cl::ValueOptional.
|
inlinevirtual |
Reimplemented from llvm::cl::basic_parser_impl.
Definition at line 759 of file CommandLine.h.
|
inline |
Definition at line 750 of file CommandLine.h.
void llvm::cl::parser< bool >::printOptionDiff | ( | const Option & | O, |
bool | V, | ||
OptVal | Default, | ||
size_t | GlobalWidth | ||
) | const |