LLVM API Documentation
Definition at line 55 of file CommandLine.h.
Definition at line 73 of file CommandLine.h.
Definition at line 102 of file CommandLine.h.
enum llvm::cl::MiscFlags |
Definition at line 110 of file CommandLine.h.
void llvm::cl::ParseCommandLineOptions | ( | int & | argc, | |
char ** | argv, | |||
const char * | Overview = 0 | |||
) |
Definition at line 287 of file CommandLine.cpp.
References CommaSeparated, ConsumeAfter, E, EatsUnboundedNumberOfValues(), llvm::cl::Option::error(), first, llvm::cl::Option::getFormattingFlag(), llvm::cl::Option::getMiscFlags(), getOptionPred(), getOpts(), getPositionalOpts(), I, isGrouping(), isPrefixedOrGrouping(), LookupOption(), MoreHelp(), OneOrMore, Optional, Positional, PositionalEatsArgs, Prefix, ProgramName, ProgramOverview, ProvideOption(), ProvidePositionalOption(), Required, RequiresValue(), second, Val, ValueRequired, and ZeroOrMore.
Referenced by ParseEnvironmentOptions().
void llvm::cl::ParseEnvironmentOptions | ( | const char * | progName, | |
const char * | envVar, | |||
const char * | Overview = 0 | |||
) |
ParseEnvironmentOptions - An alternative entry point to the CommandLine library, which allows you to read the program's name from the caller (as PROGNAME) and its command-line arguments from an environment variable (whose name is given in ENVVAR).
Definition at line 235 of file CommandLine.cpp.
References ParseCommandLineOptions(), ParseCStringVector(), and strdup.
initializer<Ty> llvm::cl::init | ( | const Ty & | Val | ) |
Definition at line 273 of file CommandLine.h.
Referenced by GetElementPtrConstantExpr::GetElementPtrConstantExpr(), llvm::ReturnInst::ReturnInst(), llvm::SelectInst::SelectInst(), llvm::ShiftInst::ShiftInst(), and llvm::SwitchInst::SwitchInst().
LocationClass<Ty> llvm::cl::location | ( | Ty & | L | ) |
Definition at line 292 of file CommandLine.h.
ValuesClass<DataType> END_WITH_NULL llvm::cl::values | ( | const char * | Arg, | |
DataType | Val, | |||
const char * | Desc, | |||
... | ||||
) |
void llvm::cl::apply | ( | const Mod & | M, | |
Opt * | O | |||
) |
Definition at line 647 of file CommandLine.h.
Referenced by llvm::cl::alias::alias(), llvm::cl::bits< DataType, Storage, ParserClass >::bits(), llvm::cl::list< DataType, Storage, ParserClass >::list(), and llvm::cl::opt< DataType, ExternalStorage, ParserClass >::opt().
void llvm::cl::PrintHelpMessage | ( | ) |