LLVM API Documentation
#include <CommandLine.h>
Inheritance diagram for llvm::cl::Option:
Public Member Functions | |
enum NumOccurrences | getNumOccurrencesFlag () const |
enum ValueExpected | getValueExpectedFlag () const |
enum OptionHidden | getOptionHiddenFlag () const |
enum FormattingFlags | getFormattingFlag () const |
unsigned | getMiscFlags () const |
unsigned | getPosition () const |
bool | hasArgStr () const |
void | setArgStr (const char *S) |
void | setDescription (const char *S) |
void | setValueStr (const char *S) |
void | setFlag (unsigned Flag, unsigned FlagMask) |
void | setNumOccurrencesFlag (enum NumOccurrences Val) |
void | setValueExpectedFlag (enum ValueExpected Val) |
void | setHiddenFlag (enum OptionHidden Val) |
void | setFormattingFlag (enum FormattingFlags V) |
void | setMiscFlag (enum MiscFlags M) |
void | setPosition (unsigned pos) |
void | addArgument (const char *ArgStr) |
void | removeArgument (const char *ArgStr) |
virtual unsigned | getOptionWidth () const =0 |
virtual void | printOptionInfo (unsigned GlobalWidth) const =0 |
bool | addOccurrence (unsigned pos, const char *ArgName, const std::string &Value) |
bool | error (std::string Message, const char *ArgName=0) |
int | getNumOccurrences () const |
virtual | ~Option () |
Public Attributes | |
const char * | ArgStr |
const char * | HelpStr |
const char * | ValueStr |
Protected Member Functions | |
Option () | |
Friends | |
class | alias |
void | ParseCommandLineOptions (int &, char **, const char *) |
Definition at line 121 of file CommandLine.h.
|
Definition at line 206 of file CommandLine.h. |
|
Definition at line 234 of file CommandLine.h. |
|
Referenced by llvm::cl::generic_parser_base::initialize(), and llvm::PassNameParser::passRegistered(). |
|
|
|
|
Definition at line 168 of file CommandLine.h. References llvm::cl::FormattingMask. |
|
Definition at line 173 of file CommandLine.h. References llvm::cl::MiscMask. |
|
Definition at line 233 of file CommandLine.h. |
|
Definition at line 153 of file CommandLine.h. References llvm::cl::OccurrencesMask. |
|
Definition at line 163 of file CommandLine.h. References llvm::cl::HiddenMask. |
|
|
|
Definition at line 176 of file CommandLine.h. |
|
Definition at line 158 of file CommandLine.h. References llvm::cl::ValueMask. |
|
Definition at line 179 of file CommandLine.h. References ArgStr. Referenced by llvm::cl::generic_parser_base::initialize(). |
|
|
|
Referenced by llvm::PassNameParser::passUnregistered(). |
|
Definition at line 184 of file CommandLine.h. References ArgStr. |
|
Definition at line 185 of file CommandLine.h. References HelpStr. Referenced by llvm::cl::desc::apply(). |
|
Definition at line 188 of file CommandLine.h. References error(). Referenced by setFormattingFlag(), setHiddenFlag(), setMiscFlag(), setNumOccurrencesFlag(), and setValueExpectedFlag(). |
|
Definition at line 202 of file CommandLine.h. References llvm::cl::FormattingMask, and setFlag(). Referenced by llvm::cl::applicator< FormattingFlags >::opt(). |
|
Definition at line 201 of file CommandLine.h. References llvm::cl::HiddenMask, and setFlag(). Referenced by llvm::cl::applicator< OptionHidden >::opt(). |
|
Definition at line 203 of file CommandLine.h. References setFlag(). Referenced by llvm::cl::applicator< MiscFlags >::opt(). |
|
Definition at line 197 of file CommandLine.h. References llvm::cl::OccurrencesMask, and setFlag(). Referenced by llvm::cl::applicator< NumOccurrences >::opt(). |
|
Definition at line 204 of file CommandLine.h. |
|
Definition at line 200 of file CommandLine.h. References setFlag(), and llvm::cl::ValueMask. Referenced by llvm::cl::applicator< ValueExpected >::opt(). |
|
Definition at line 186 of file CommandLine.h. References ValueStr. Referenced by llvm::cl::value_desc::apply(). |
|
Definition at line 123 of file CommandLine.h. |
|
Definition at line 286 of file CommandLine.cpp. |
|
Definition at line 149 of file CommandLine.h. Referenced by hasArgStr(), and setArgStr(). |
|
Definition at line 150 of file CommandLine.h. Referenced by setDescription(). |
|
Definition at line 151 of file CommandLine.h. Referenced by setValueStr(). |