LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
 
class  InputArgList
 
class  DerivedArgList
 
class  Option
 
class  OptSpecifier
 OptSpecifier - Wrapper class for abstracting references to option IDs. More...
 
class  OptTable
 Provide access to the Option info table. More...
 

Typedefs

typedef SmallVector< const
char *, 16 > 
ArgStringList
 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

typedef SmallVector<const char*, 16> llvm::opt::ArgStringList

ArgStringList - Type used for constructing argv lists for subprocesses.

Definition at line 21 of file Option.h.

Enumeration Type Documentation

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

Enumerator
HelpHidden 
RenderAsInput 
RenderJoined 
RenderSeparate 

Definition at line 26 of file Option.h.

Function Documentation

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

Definition at line 79 of file OptTable.cpp.

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

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

Definition at line 50 of file OptTable.cpp.

References N, llvm::LibFunc::strcmp, and StrCmpOptionNameIgnoreCase().

Referenced by operator<().

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

Definition at line 29 of file OptTable.cpp.

References llvm::ARM_PROC::A, llvm::X, and Y.

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