|
LLVM
3.7.0
|
#include <CommandLine.h>
Classes | |
| class | OptionInfo |
Public Types | |
| typedef DataType | parser_data_type |
Public Member Functions | |
| parser (Option &O) | |
| unsigned | getNumOptions () const override |
| const char * | getOption (unsigned N) const override |
| const char * | getDescription (unsigned N) const override |
| const GenericOptionValue & | getOptionValue (unsigned N) const override |
| bool | parse (Option &O, StringRef ArgName, StringRef Arg, DataType &V) |
| template<class DT > | |
| void | addLiteralOption (const char *Name, const DT &V, const char *HelpStr) |
| addLiteralOption - Add an entry to the mapping table. More... | |
| void | removeLiteralOption (const char *Name) |
| removeLiteralOption - Remove the specified option. More... | |
Public Member Functions inherited from llvm::cl::generic_parser_base | |
| generic_parser_base (Option &O) | |
| virtual | ~generic_parser_base () |
| 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<class AnyOptionValue > | |
| void | printOptionDiff (const Option &O, const AnyOptionValue &V, const AnyOptionValue &Default, size_t GlobalWidth) const |
| void | initialize () |
| void | getExtraOptionNames (SmallVectorImpl< const char * > &OptionNames) |
| enum ValueExpected | getValueExpectedFlagDefault () const |
| unsigned | findOption (const char *Name) |
Protected Attributes | |
| SmallVector< OptionInfo, 8 > | Values |
Protected Attributes inherited from llvm::cl::generic_parser_base | |
| Option & | Owner |
Definition at line 651 of file CommandLine.h.
| typedef DataType llvm::cl::parser< DataType >::parser_data_type |
Definition at line 663 of file CommandLine.h.
|
inline |
Definition at line 662 of file CommandLine.h.
|
inline |
addLiteralOption - Add an entry to the mapping table.
Definition at line 697 of file CommandLine.h.
|
inlineoverridevirtual |
Implements llvm::cl::generic_parser_base.
Definition at line 668 of file CommandLine.h.
|
inlineoverridevirtual |
Implements llvm::cl::generic_parser_base.
Definition at line 666 of file CommandLine.h.
|
inlineoverridevirtual |
Implements llvm::cl::generic_parser_base.
Definition at line 667 of file CommandLine.h.
|
inlineoverridevirtual |
Implements llvm::cl::generic_parser_base.
Definition at line 673 of file CommandLine.h.
|
inline |
Definition at line 678 of file CommandLine.h.
|
inline |
removeLiteralOption - Remove the specified option.
Definition at line 706 of file CommandLine.h.
|
protected |
Definition at line 659 of file CommandLine.h.
Referenced by llvm::cl::parser< const PassInfo * >::addLiteralOption(), llvm::cl::parser< const PassInfo * >::getDescription(), llvm::cl::parser< const PassInfo * >::getNumOptions(), llvm::cl::parser< const PassInfo * >::getOption(), llvm::cl::parser< const PassInfo * >::getOptionValue(), llvm::cl::parser< const PassInfo * >::parse(), llvm::PassNameParser::printOptionInfo(), and llvm::cl::parser< const PassInfo * >::removeLiteralOption().
1.8.6