LLVM API Documentation
#include <CommandLine.h>


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 |
| bool | parse (Option &O, const char *ArgName, const std::string &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< std::pair< const char *, std::pair< DataType, const char * > >, 8 > | Values |
Definition at line 440 of file CommandLine.h.
| typedef DataType llvm::cl::parser< DataType >::parser_data_type |
Definition at line 445 of file CommandLine.h.
| unsigned llvm::cl::parser< DataType >::getNumOptions | ( | ) | const [inline, virtual] |
Implements llvm::cl::generic_parser_base.
Definition at line 448 of file CommandLine.h.
Referenced by llvm::PassNameParser::passRegistered().
| const char* llvm::cl::parser< DataType >::getOption | ( | unsigned | N | ) | const [inline, virtual] |
| const char* llvm::cl::parser< DataType >::getDescription | ( | unsigned | N | ) | const [inline, virtual] |
| bool llvm::cl::parser< DataType >::parse | ( | Option & | O, | |
| const char * | ArgName, | |||
| const std::string & | Arg, | |||
| DataType & | V | |||
| ) | [inline] |
Definition at line 455 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 476 of file CommandLine.h.
Referenced by llvm::PassNameParser::passRegistered().
| void llvm::cl::parser< DataType >::removeLiteralOption | ( | const char * | Name | ) | [inline] |
removeLiteralOption - Remove the specified option.
Definition at line 485 of file CommandLine.h.
SmallVector<std::pair<const char *, std::pair<DataType, const char *> >, 8> llvm::cl::parser< DataType >::Values [protected] |
Definition at line 443 of file CommandLine.h.
Referenced by llvm::cl::parser< const U::entry * >::addLiteralOption(), llvm::cl::parser< const U::entry * >::getDescription(), llvm::cl::parser< const U::entry * >::getNumOptions(), llvm::cl::parser< const U::entry * >::getOption(), llvm::cl::parser< const U::entry * >::parse(), llvm::PassNameParser::printOptionInfo(), and llvm::cl::parser< const U::entry * >::removeLiteralOption().
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.