LLVM  8.0.1
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  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...
 

Typedefs

using ArgStringList = SmallVector< const char *, 16 >
 ArgStringList - Type used for constructing argv lists for subprocesses. More...
 

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...
 

Functions

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

Typedef Documentation

◆ ArgStringList

ArgStringList - Type used for constructing argv lists for subprocesses.

Definition at line 31 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 34 of file Option.h.

Function Documentation

◆ operator<() [1/2]

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

◆ operator<() [2/2]

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

Definition at line 89 of file OptTable.cpp.

References llvm::opt::OptTable::Info::Name, and StrCmpOptionNameIgnoreCase().

◆ StrCmpOptionName()

static int llvm::opt::StrCmpOptionName ( const char A,
const char B 
)
static

Definition at line 60 of file OptTable.cpp.

References N, and StrCmpOptionNameIgnoreCase().

Referenced by operator<().

◆ StrCmpOptionNameIgnoreCase()

static int llvm::opt::StrCmpOptionNameIgnoreCase ( const char A,
const char B 
)
static

Definition at line 39 of file OptTable.cpp.

References B, X, and Y.

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