|
LLVM 24.0.0git
|
Classes | |
| class | Arg |
| A concrete instance of a particular driver option. More... | |
| class | arg_iterator |
| arg_iterator - Iterates through arguments stored inside an ArgList. More... | |
| class | ArgList |
| ArgList - Ordered collection of driver arguments. More... | |
| class | DerivedArgList |
| DerivedArgList - An ordered collection of driver arguments, whose storage may be in another argument list. More... | |
| class | InputArgList |
| class | LibraryOptionsParser |
| Connects an options struct to cl::ParseCommandLineOptions. More... | |
| class | LibraryOptTable |
| An OptTable with a public constructor, shared by every options struct. More... | |
| class | Option |
| Option - Abstract representation for a single form of driver argument. More... | |
| class | OptSpecifier |
| OptSpecifier - Wrapper class for abstracting references to option IDs. More... | |
| class | OptTable |
| Provide access to the Option info table. More... | |
| class | RegisterLibraryOptions |
| Registers T::Global with cl::ParseCommandLineOptions. More... | |
| class | Visibility |
| Helper for overload resolution while transitioning from FlagsToInclude/FlagsToExclude APIs to VisibilityMask APIs. More... | |
Typedefs | |
| using | ArgStringList = SmallVector<const char *, 16> |
| ArgStringList - Type used for constructing argv lists for subprocesses. | |
Enumerations | |
| enum | DriverFlag { HelpHidden = (1 << 0) , RenderAsInput = (1 << 1) , RenderJoined = (1 << 2) , RenderSeparate = (1 << 3) } |
| Base flags for all options. Custom flags may be added after. More... | |
| enum | DriverVisibility { DefaultVis = (1 << 0) } |
Functions | |
| bool | parseArgValue (StringRef S, bool &V) |
| bool | parseArgValue (StringRef S, StringRef &V) |
| template<typename T> | |
| std::enable_if_t< std::is_arithmetic_v< T > &&!std::is_same_v< T, bool >, bool > | parseArgValue (StringRef S, T &V) |
| template<typename T> | |
| bool | parseArgValue (StringRef S, std::optional< T > &V) |
| using llvm::opt::ArgStringList = SmallVector<const char *, 16> |
ArgStringList - Type used for constructing argv lists for subprocesses.
Definition at line 31 of file LibraryOptions.h.
Referenced by parseArgValue().
Definition at line 56 of file LibraryOptions.h.
References parseArgValue(), T, and X.
Definition at line 41 of file LibraryOptions.h.
| std::enable_if_t< std::is_arithmetic_v< T > &&!std::is_same_v< T, bool >, bool > llvm::opt::parseArgValue | ( | StringRef | S, |
| T & | V ) |
Definition at line 48 of file LibraryOptions.h.
References T, llvm::to_float(), and llvm::to_integer().