LLVM API Documentation
#include <CommandLine.h>


Classes | |
| class | OptionInfo |
Public Types | |
| typedef DataType | parser_data_type |
Public Member Functions | |
| unsigned | getNumOptions () const |
| const char * | getOption (unsigned N) const |
| const char * | getDescription (unsigned N) const |
| virtual const GenericOptionValue & | getOptionValue (unsigned N) const |
| bool | parse (Option &O, StringRef ArgName, StringRef Arg, DataType &V) |
| template<class DT > | |
| void | addLiteralOption (const char *Name, const DT &V, const char *HelpStr) |
| void | removeLiteralOption (const char *Name) |
Protected Attributes | |
| SmallVector< OptionInfo, 8 > | Values |
Definition at line 629 of file CommandLine.h.
| typedef DataType llvm::cl::parser< DataType >::parser_data_type |
Definition at line 639 of file CommandLine.h.
| void llvm::cl::parser< DataType >::addLiteralOption | ( | const char * | Name, |
| const DT & | V, | ||
| const char * | HelpStr | ||
| ) | [inline] |
addLiteralOption - Add an entry to the mapping table.
Definition at line 673 of file CommandLine.h.
| const char* llvm::cl::parser< DataType >::getDescription | ( | unsigned | N | ) | const [inline, virtual] |
Implements llvm::cl::generic_parser_base.
Definition at line 644 of file CommandLine.h.
| unsigned llvm::cl::parser< DataType >::getNumOptions | ( | ) | const [inline, virtual] |
Implements llvm::cl::generic_parser_base.
Definition at line 642 of file CommandLine.h.
| const char* llvm::cl::parser< DataType >::getOption | ( | unsigned | N | ) | const [inline, virtual] |
Implements llvm::cl::generic_parser_base.
Definition at line 643 of file CommandLine.h.
| virtual const GenericOptionValue& llvm::cl::parser< DataType >::getOptionValue | ( | unsigned | N | ) | const [inline, virtual] |
Implements llvm::cl::generic_parser_base.
Definition at line 649 of file CommandLine.h.
| bool llvm::cl::parser< DataType >::parse | ( | Option & | O, |
| StringRef | ArgName, | ||
| StringRef | Arg, | ||
| DataType & | V | ||
| ) | [inline] |
Definition at line 654 of file CommandLine.h.
| void llvm::cl::parser< DataType >::removeLiteralOption | ( | const char * | Name | ) | [inline] |
removeLiteralOption - Remove the specified option.
Definition at line 682 of file CommandLine.h.
SmallVector<OptionInfo, 8> llvm::cl::parser< DataType >::Values [protected] |
Definition at line 637 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().