LLVM API Documentation
Definition at line 109 of file CommandLine.h.
enum llvm::cl::MiscFlags |
Definition at line 117 of file CommandLine.h.
Definition at line 62 of file CommandLine.h.
Definition at line 80 of file CommandLine.h.
void llvm::cl::apply | ( | const Mod & | M, | |
Opt * | O | |||
) |
Definition at line 657 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().
initializer<Ty> llvm::cl::init | ( | const Ty & | Val | ) |
Definition at line 283 of file CommandLine.h.
Referenced by llvm::ReturnInst::ReturnInst(), llvm::SelectInst::SelectInst(), llvm::ShiftInst::ShiftInst(), and llvm::SwitchInst::SwitchInst().
LocationClass<Ty> llvm::cl::location | ( | Ty & | L | ) |
Definition at line 302 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(), 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.
void llvm::cl::PrintHelpMessage | ( | ) |
void llvm::cl::SetVersionPrinter | ( | void(*)() | func | ) |
===---------------------------------------------------------------------===// SetVersionPrinter - Override the default (LLVM specific) version printer used to print out the version when --version is given on the command line. This gives other systems using the CommandLine utilities to print their own version string.
Definition at line 1025 of file CommandLine.cpp.
References OverrideVersionPrinter.
ValuesClass<DataType> END_WITH_NULL llvm::cl::values | ( | const char * | Arg, | |
DataType | Val, | |||
const char * | Desc, | |||
... | ||||
) |