LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Friends | List of all members
llvm::opt::arg_iterator Class Reference

arg_iterator - Iterates through arguments stored inside an ArgList. More...

#include <ArgList.h>

Public Types

typedef Arg *const * value_type
 
typedef Arg *const & reference
 
typedef Arg *const * pointer
 
typedef std::forward_iterator_tag iterator_category
 
typedef std::ptrdiff_t difference_type
 

Public Member Functions

 arg_iterator (SmallVectorImpl< Arg * >::const_iterator it, const ArgList &_Args, OptSpecifier _Id0=0U, OptSpecifier _Id1=0U, OptSpecifier _Id2=0U)
 
 operator const Arg * ()
 
reference operator* () const
 
pointer operator-> () const
 
arg_iteratoroperator++ ()
 
arg_iterator operator++ (int)
 

Friends

bool operator== (arg_iterator LHS, arg_iterator RHS)
 
bool operator!= (arg_iterator LHS, arg_iterator RHS)
 

Detailed Description

arg_iterator - Iterates through arguments stored inside an ArgList.

Definition at line 28 of file ArgList.h.

Member Typedef Documentation

Definition at line 52 of file ArgList.h.

typedef std::forward_iterator_tag llvm::opt::arg_iterator::iterator_category

Definition at line 51 of file ArgList.h.

Definition at line 50 of file ArgList.h.

Definition at line 49 of file ArgList.h.

Definition at line 48 of file ArgList.h.

Constructor & Destructor Documentation

llvm::opt::arg_iterator::arg_iterator ( SmallVectorImpl< Arg * >::const_iterator  it,
const ArgList _Args,
OptSpecifier  _Id0 = 0U,
OptSpecifier  _Id1 = 0U,
OptSpecifier  _Id2 = 0U 
)
inline

Definition at line 54 of file ArgList.h.

Member Function Documentation

llvm::opt::arg_iterator::operator const Arg * ( )
inline

Definition at line 61 of file ArgList.h.

reference llvm::opt::arg_iterator::operator* ( ) const
inline

Definition at line 62 of file ArgList.h.

arg_iterator& llvm::opt::arg_iterator::operator++ ( )
inline

Definition at line 65 of file ArgList.h.

arg_iterator llvm::opt::arg_iterator::operator++ ( int  )
inline

Definition at line 71 of file ArgList.h.

pointer llvm::opt::arg_iterator::operator-> ( ) const
inline

Definition at line 63 of file ArgList.h.

Friends And Related Function Documentation

bool operator!= ( arg_iterator  LHS,
arg_iterator  RHS 
)
friend

Definition at line 80 of file ArgList.h.

bool operator== ( arg_iterator  LHS,
arg_iterator  RHS 
)
friend

Definition at line 77 of file ArgList.h.


The documentation for this class was generated from the following files: