llvm::opt

Command-line option and argument parsing utilities.

Types

NameDescription
Arg A concrete instance of a particular driver option.
ArgList ArgList - Ordered collection of driver arguments.
DerivedArgList DerivedArgList - An ordered collection of driver arguments, whose storage may be in another argument list.
GenericOptTable Specialization of OptTable that builds prefix characters during construction.
InputArgList An ArgList that owns the memory for its input argument strings.
OptSpecifier OptSpecifier - Wrapper class for abstracting references to option IDs.
OptTable Provide access to the Option info table.
Option Option - Abstract representation for a single form of driver argument.
PrecomputedOptTable Specialization of OptTable that uses a precomputed prefixes union.
Visibility Helper for overload resolution while transitioning from FlagsToInclude/FlagsToExclude APIs to VisibilityMask APIs.
arg_iterator arg_iterator - Iterates through arguments stored inside an ArgList.

Type Aliases

NameDescription
ArgStringList ArgStringList - Type used for constructing argv lists for subprocesses.

Enums

NameDescription
DriverFlag Base flags for all options. Custom flags may be added after.
DriverVisibility Visibility bits that control which options are shown for a given driver.

Functions

NameDescription
operator== Return true if LHS and RHS refer to the same position.
operator!= Return true if LHS and RHS refer to different positions.