LLVM API Documentation
#include <CommandLine.h>
Inheritance diagram for llvm::cl::parser< DataType >:


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 | |
| std::vector< std::pair< const char *, std::pair< DataType, const char * > > > | Values |
Definition at line 441 of file CommandLine.h.
| typedef DataType llvm::cl::parser< DataType >::parser_data_type |
Definition at line 446 of file CommandLine.h.
| unsigned llvm::cl::parser< DataType >::getNumOptions | ( | ) | const [inline, virtual] |
Implements llvm::cl::generic_parser_base.
Definition at line 449 of file CommandLine.h.
Referenced by llvm::PassNameParser::passRegistered(), and llvm::PassNameParser::passUnregistered().
| 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 456 of file CommandLine.h.
| void llvm::cl::parser< DataType >::addLiteralOption | ( | const char * | Name, | |
| const DT & | V, | |||
| const char * | HelpStr | |||
| ) | [inline] |
| void llvm::cl::parser< DataType >::removeLiteralOption | ( | const char * | Name | ) | [inline] |
Definition at line 483 of file CommandLine.h.
Referenced by llvm::PassNameParser::passUnregistered().
std::vector<std::pair<const char *, std::pair<DataType, const char *> > > llvm::cl::parser< DataType >::Values [protected] |
Definition at line 444 of file CommandLine.h.
Referenced by llvm::cl::parser< const llvm::PassInfo * >::addLiteralOption(), llvm::cl::parser< const llvm::PassInfo * >::getDescription(), llvm::cl::parser< const llvm::PassInfo * >::getNumOptions(), llvm::cl::parser< const llvm::PassInfo * >::getOption(), llvm::TargetNameParser::initialize(), llvm::cl::parser< const llvm::PassInfo * >::parse(), llvm::PassNameParser::printOptionInfo(), llvm::cl::parser< const llvm::PassInfo * >::removeLiteralOption(), and llvm::TargetNameParser::targetRegistered().