|
| bool | llvm::cl::ParseCommandLineOptions (int argc, const char *const *argv, StringRef Overview="", raw_ostream *Errs=nullptr) |
| |
| void | llvm::cl::ParseEnvironmentOptions (const char *progName, const char *envvar, const char *Overview="") |
| | 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). More...
|
| |
| void | llvm::cl::SetVersionPrinter (VersionPrinterTy func) |
| | ===------------------------------------------------------------------—===// SetVersionPrinter - Override the default (LLVM specific) version printer used to print out the version when –version is given on the command line. More...
|
| |
| void | llvm::cl::AddExtraVersionPrinter (VersionPrinterTy func) |
| | ===------------------------------------------------------------------—===// AddExtraVersionPrinter - Add an extra printer to use in addition to the default one. More...
|
| |
| void | llvm::cl::PrintOptionValues () |
| |
| void | llvm::cl::AddLiteralOption (Option &O, StringRef Name) |
| | Adds a new option for parsing and provides the option it refers to. More...
|
| |
| template<class Ty > |
| initializer< Ty > | llvm::cl::init (const Ty &Val) |
| |
| template<class Ty > |
| LocationClass< Ty > | llvm::cl::location (Ty &L) |
| |
| template<typename... OptsTy> |
| ValuesClass | llvm::cl::values (OptsTy... Options) |
| | Helper to build a ValuesClass by forwarding a variable number of arguments as an initializer list to the ValuesClass constructor. More...
|
| |
| template<class ParserClass , class DT > |
| void | llvm::cl::printOptionDiff (const Option &O, const generic_parser_base &P, const DT &V, const OptionValue< DT > &Default, size_t GlobalWidth) |
| |
| template<class ParserClass , class ValDT > |
| void | llvm::cl::printOptionDiff (const Option &O, const basic_parser< typename ParserClass::parser_data_type > &P, const ValDT &V, const OptionValue< ValDT > &Default, size_t GlobalWidth) |
| |
| template<class Opt , class Mod , class... Mods> |
| void | llvm::cl::apply (Opt *O, const Mod &M, const Mods &... Ms) |
| |
| template<class Opt , class Mod > |
| void | llvm::cl::apply (Opt *O, const Mod &M) |
| |
| void | llvm::cl::PrintVersionMessage () |
| | Utility function for printing version number. More...
|
| |
| void | llvm::cl::PrintHelpMessage (bool Hidden=false, bool Categorized=false) |
| | This function just prints the help message, exactly the same way as if the -help or -help-hidden option had been given on the command line. More...
|
| |
| StringMap< Option * > & | llvm::cl::getRegisteredOptions (SubCommand &Sub= *TopLevelSubCommand) |
| | Use this to get a StringMap to all registered named options (e.g. More...
|
| |
| iterator_range< typename SmallPtrSet< SubCommand *, 4 >::iterator > | llvm::cl::getRegisteredSubcommands () |
| | Use this to get all registered SubCommands from the provided parser. More...
|
| |
| void | llvm::cl::TokenizeGNUCommandLine (StringRef Source, StringSaver &Saver, SmallVectorImpl< const char *> &NewArgv, bool MarkEOLs=false) |
| | Tokenizes a command line that can contain escapes and quotes. More...
|
| |
| void | llvm::cl::TokenizeWindowsCommandLine (StringRef Source, StringSaver &Saver, SmallVectorImpl< const char *> &NewArgv, bool MarkEOLs=false) |
| | Tokenizes a Windows command line which may contain quotes and escaped quotes. More...
|
| |
| void | llvm::cl::tokenizeConfigFile (StringRef Source, StringSaver &Saver, SmallVectorImpl< const char *> &NewArgv, bool MarkEOLs=false) |
| | Tokenizes content of configuration file. More...
|
| |
| bool | llvm::cl::readConfigFile (StringRef CfgFileName, StringSaver &Saver, SmallVectorImpl< const char *> &Argv) |
| | Reads command line options from the given configuration file. More...
|
| |
| bool | llvm::cl::ExpandResponseFiles (StringSaver &Saver, TokenizerCallback Tokenizer, SmallVectorImpl< const char *> &Argv, bool MarkEOLs=false, bool RelativeNames=false) |
| | Expand response files on a command line recursively using the given StringSaver and tokenization strategy. More...
|
| |
| void | llvm::cl::HideUnrelatedOptions (cl::OptionCategory &Category, SubCommand &Sub= *TopLevelSubCommand) |
| | Mark all options not part of this category as cl::ReallyHidden. More...
|
| |
| void | llvm::cl::HideUnrelatedOptions (ArrayRef< const cl::OptionCategory *> Categories, SubCommand &Sub= *TopLevelSubCommand) |
| | Mark all options not part of the categories as cl::ReallyHidden. More...
|
| |
| void | llvm::cl::ResetAllOptionOccurrences () |
| | Reset all command line options to a state that looks as if they have never appeared on the command line. More...
|
| |
| void | llvm::cl::ResetCommandLineParser () |
| | Reset the command line parser back to its initial state. More...
|
| |