|
| class | llvm::cl::OptionCategory |
| class | llvm::cl::SubCommand |
| class | llvm::cl::SubCommandGroup |
| class | llvm::cl::Option |
| struct | llvm::cl::desc |
| struct | llvm::cl::value_desc |
| struct | llvm::cl::initializer< Ty > |
| struct | llvm::cl::list_initializer< Ty > |
| struct | llvm::cl::LocationClass< Ty > |
| struct | llvm::cl::cat |
| struct | llvm::cl::sub |
| struct | llvm::cl::cb< R, Ty > |
| struct | llvm::cl::detail::callback_traits< F > |
| struct | llvm::cl::detail::callback_traits< R(C::*)(Args...) const > |
| struct | llvm::cl::GenericOptionValue |
| struct | llvm::cl::OptionValueBase< DataType, isClass > |
| class | llvm::cl::OptionValueCopy< DataType > |
| struct | llvm::cl::OptionValueBase< DataType, false > |
| struct | llvm::cl::OptionValue< DataType > |
| struct | llvm::cl::OptionValue< cl::boolOrDefault > |
| struct | llvm::cl::OptionValue< std::string > |
| struct | llvm::cl::OptionEnumValue |
| class | llvm::cl::ValuesClass |
| class | llvm::cl::generic_parser_base |
| class | llvm::cl::generic_parser_base::GenericOptionInfo |
| class | llvm::cl::parser< DataType > |
| class | llvm::cl::parser< DataType >::OptionInfo |
| class | llvm::cl::basic_parser_impl |
| class | llvm::cl::basic_parser< DataType > |
| class | llvm::cl::parser< bool > |
| class | llvm::cl::parser< boolOrDefault > |
| class | llvm::cl::parser< int > |
| class | llvm::cl::parser< long > |
| class | llvm::cl::parser< long long > |
| class | llvm::cl::parser< unsigned > |
| class | llvm::cl::parser< unsigned long > |
| class | llvm::cl::parser< unsigned long long > |
| class | llvm::cl::parser< double > |
| class | llvm::cl::parser< float > |
| class | llvm::cl::parser< std::string > |
| class | llvm::cl::parser< std::optional< std::string > > |
| class | llvm::cl::parser< char > |
| class | llvm::cl::parser< ElementCount > |
| struct | llvm::cl::OptionDiffPrinter< ParserDT, ValDT > |
| struct | llvm::cl::OptionDiffPrinter< DT, DT > |
| struct | llvm::cl::applicator< Mod > |
| struct | llvm::cl::applicator< char[n]> |
| struct | llvm::cl::applicator< const char[n]> |
| struct | llvm::cl::applicator< StringRef > |
| struct | llvm::cl::applicator< NumOccurrencesFlag > |
| struct | llvm::cl::applicator< ValueExpected > |
| struct | llvm::cl::applicator< OptionHidden > |
| struct | llvm::cl::applicator< FormattingFlags > |
| struct | llvm::cl::applicator< MiscFlags > |
| class | llvm::cl::opt_storage< DataType, ExternalStorage, isClass > |
| class | llvm::cl::opt_storage< DataType, false, true > |
| class | llvm::cl::opt_storage< DataType, false, false > |
| class | llvm::cl::opt< DataType, ExternalStorage, ParserClass > |
| class | llvm::cl::list_storage< DataType, StorageClass > |
| class | llvm::cl::list_storage< DataType, bool > |
| class | llvm::cl::list< DataType, StorageClass, ParserClass > |
| class | llvm::cl::alias |
| struct | llvm::cl::aliasopt |
| class | llvm::cl::ExpansionContext |
| | Contains options that control response file expansion. More...
|
| class | llvm::cl::LibraryOptions |
| | The options of a library that declares them in TableGen rather than as cl::opt (see llvm/Option/LibraryOptions.h). More...
|
|
| LLVM_ABI bool | llvm::cl::ParseCommandLineOptions (int argc, const char *const *argv, StringRef Overview="", raw_ostream *Errs=nullptr, vfs::FileSystem *VFS=nullptr, const char *EnvVar=nullptr) |
| LLVM_ABI bool | llvm::cl::parseCommandLineOptions (LibraryOptionsContext &Context, ArrayRef< const char * > Args, StringRef Overview="", raw_ostream *Errs=nullptr, vfs::FileSystem *VFS=nullptr, const char *EnvVar=nullptr) |
| LLVM_ABI bool | llvm::cl::parseCommandLineOptions (LibraryOptionsContext &Context, ArrayRef< const LibraryOptions * > ToolOptions, ArrayRef< const char * > Args, StringRef Overview="", raw_ostream *Errs=nullptr, vfs::FileSystem *VFS=nullptr, const char *EnvVar=nullptr) |
| LLVM_ABI LibraryOptionsContext & | llvm::cl::getCAPILibraryOptions () |
| LLVM_ABI void | llvm::cl::SetVersionPrinter (VersionPrinterTy func) |
| | ===------------------------------------------------------------------—===// Override the default (LLVM specific) version printer used to print out the version when –version is given on the command line.
|
| LLVM_ABI void | llvm::cl::AddExtraVersionPrinter (VersionPrinterTy func) |
| | ===------------------------------------------------------------------—===// Add an extra printer to use in addition to the default one.
|
| LLVM_ABI void | llvm::cl::PrintOptionValues () |
| LLVM_ABI void | llvm::cl::AddLiteralOption (Option &O, StringRef Name) |
| | Adds a new option for parsing and provides the option it refers to.
|
| LLVM_ABI OptionCategory & | llvm::cl::getGeneralCategory () |
| template<class Ty> |
| initializer< Ty > | llvm::cl::init (const Ty &Val) |
| template<class Ty> |
| list_initializer< Ty > | llvm::cl::list_init (ArrayRef< Ty > Vals) |
| template<class Ty> |
| LocationClass< Ty > | llvm::cl::location (Ty &L) |
| template<typename F> |
| cb< typename detail::callback_traits< F >::result_type, typename detail::callback_traits< F >::arg_type > | llvm::cl::callback (F CB) |
| 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.
|
| 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) |
| LLVM_ABI void | llvm::cl::PrintVersionMessage () |
| | Utility function for printing version number.
|
| LLVM_ABI 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.
|
| LLVM_ABI ArrayRef< StringRef > | llvm::cl::getCompilerBuildConfig () |
| | An array of optional enabled settings in the LLVM build configuration, which may be of interest to compiler developers.
|
| LLVM_ABI void | llvm::cl::printBuildConfig (raw_ostream &OS) |
| | Prints the compiler build configuration.
|
| LLVM_ABI DenseMap< StringRef, Option * > & | llvm::cl::getRegisteredOptions (SubCommand &Sub=SubCommand::getTopLevel()) |
| | Use this to get a map of all registered named options (e.g.
|
| LLVM_ABI iterator_range< SmallPtrSet< SubCommand *, 4 >::iterator > | llvm::cl::getRegisteredSubcommands () |
| | Use this to get all registered SubCommands from the provided parser.
|
| LLVM_ABI 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.
|
| LLVM_ABI void | llvm::cl::TokenizeWindowsCommandLine (StringRef Source, StringSaver &Saver, SmallVectorImpl< const char * > &NewArgv, bool MarkEOLs=false) |
| | Tokenizes a string of Windows command line arguments, which may contain quotes and escaped quotes.
|
| LLVM_ABI void | llvm::cl::TokenizeWindowsCommandLineNoCopy (StringRef Source, StringSaver &Saver, SmallVectorImpl< StringRef > &NewArgv) |
| | Tokenizes a Windows command line while attempting to avoid copies.
|
| LLVM_ABI void | llvm::cl::TokenizeWindowsCommandLineFull (StringRef Source, StringSaver &Saver, SmallVectorImpl< const char * > &NewArgv, bool MarkEOLs=false) |
| | Tokenizes a Windows full command line, including command name at the start.
|
| LLVM_ABI void | llvm::cl::tokenizeConfigFile (StringRef Source, StringSaver &Saver, SmallVectorImpl< const char * > &NewArgv, bool MarkEOLs=false) |
| | Tokenizes content of configuration file.
|
| LLVM_ABI bool | llvm::cl::ExpandResponseFiles (StringSaver &Saver, TokenizerCallback Tokenizer, SmallVectorImpl< const char * > &Argv) |
| | A convenience helper which supports the typical use case of expansion function call.
|
| LLVM_ABI bool | llvm::cl::expandResponseFiles (int Argc, const char *const *Argv, const char *EnvVar, StringSaver &Saver, SmallVectorImpl< const char * > &NewArgv) |
| | A convenience helper which concatenates the options specified by the environment variable EnvVar and command line options, then expands response files recursively.
|
| LLVM_ABI void | llvm::cl::HideUnrelatedOptions (cl::OptionCategory &Category, SubCommand &Sub=SubCommand::getTopLevel()) |
| | Mark all options not part of this category as cl::ReallyHidden.
|
| LLVM_ABI void | llvm::cl::HideUnrelatedOptions (ArrayRef< const cl::OptionCategory * > Categories, SubCommand &Sub=SubCommand::getTopLevel()) |
| | Mark all options not part of the categories as cl::ReallyHidden.
|
| LLVM_ABI void | llvm::cl::ResetAllOptionOccurrences () |
| | Reset all command line options to a state that looks as if they have never appeared on the command line.
|
| LLVM_ABI void | llvm::cl::ResetCommandLineParser () |
| | Reset the command line parser back to its initial state.
|
| LLVM_ABI bool | llvm::cl::ProvidePositionalOption (Option *Handler, StringRef Arg, int i) |
| | Parses Arg into the option handler Handler.
|
| LLVM_ABI void | llvm::cl::addLibraryOptions (const LibraryOptions &L) |
| | Makes ParseCommandLineOptions recognize L's options.
|