LLVM 20.0.0git
Classes | Typedefs | Enumerations | Functions
llvm::opt Namespace Reference

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  GenericOptTable
 Specialization of OptTable. More...
 
class  InputArgList
 
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  PrecomputedOptTable
 
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

static int StrCmpOptionNameIgnoreCase (StringRef A, StringRef B)
 
static int StrCmpOptionName (StringRef A, StringRef B)
 
static bool operator< (const OptTable::Info &A, const OptTable::Info &B)
 
static bool operator< (const OptTable::Info &I, StringRef Name)
 

Typedef Documentation

◆ ArgStringList

ArgStringList - Type used for constructing argv lists for subprocesses.

Definition at line 29 of file Option.h.

Enumeration Type Documentation

◆ DriverFlag

Base flags for all options. Custom flags may be added after.

Enumerator
HelpHidden 
RenderAsInput 
RenderJoined 
RenderSeparate 

Definition at line 32 of file Option.h.

◆ DriverVisibility

Enumerator
DefaultVis 

Definition at line 39 of file Option.h.

Function Documentation

◆ operator<() [1/2]

static bool llvm::opt::operator< ( const OptTable::Info A,
const OptTable::Info B 
)
inlinestatic

Definition at line 58 of file OptTable.cpp.

References A, assert(), B, I, llvm::opt::Option::JoinedClass, N, and StrCmpOptionName().

◆ operator<() [2/2]

static bool llvm::opt::operator< ( const OptTable::Info I,
StringRef  Name 
)
inlinestatic

Definition at line 79 of file OptTable.cpp.

References I, Name, and StrCmpOptionNameIgnoreCase().

◆ StrCmpOptionName()

static int llvm::opt::StrCmpOptionName ( StringRef  A,
StringRef  B 
)
static

Definition at line 52 of file OptTable.cpp.

References A, B, N, and StrCmpOptionNameIgnoreCase().

Referenced by operator<().

◆ StrCmpOptionNameIgnoreCase()

static int llvm::opt::StrCmpOptionNameIgnoreCase ( StringRef  A,
StringRef  B 
)
static

Definition at line 39 of file OptTable.cpp.

References A, and B.

Referenced by operator<(), and StrCmpOptionName().