clang  6.0.0svn
Public Member Functions | Friends | List of all members
clang::StmtIterator Struct Reference

#include "clang/AST/StmtIterator.h"

Inheritance diagram for clang::StmtIterator:
Inheritance graph
[legend]
Collaboration diagram for clang::StmtIterator:
Collaboration graph
[legend]

Public Member Functions

 StmtIterator ()=default
 
 StmtIterator (Stmt **S)
 
 StmtIterator (Decl **dgi, Decl **dge)
 
 StmtIterator (const VariableArrayType *t)
 
- Public Member Functions inherited from clang::StmtIteratorImpl< StmtIterator, Stmt *&>
 StmtIteratorImpl ()=default
 
 StmtIteratorImpl (Stmt **s)
 
 StmtIteratorImpl (Decl **dgi, Decl **dge)
 
 StmtIteratorImpl (const VariableArrayType *t)
 
StmtIteratoroperator++ ()
 
StmtIterator operator++ (int)
 
bool operator== (const StmtIterator &RHS) const
 
bool operator!= (const StmtIterator &RHS) const
 
Stmt *& operator* () const
 
Stmt *& operator-> () const
 

Friends

StmtIterator cast_away_const (const ConstStmtIterator &RHS)
 

Additional Inherited Members

- Protected Types inherited from clang::StmtIteratorBase
enum  { StmtMode = 0x0, SizeOfTypeVAMode = 0x1, DeclGroupMode = 0x2, Flags = 0x3 }
 
- Protected Member Functions inherited from clang::StmtIteratorImpl< StmtIterator, Stmt *&>
 StmtIteratorImpl (const StmtIteratorBase &RHS)
 
- Protected Member Functions inherited from clang::StmtIteratorBase
 StmtIteratorBase (Stmt **s)
 
 StmtIteratorBase (const VariableArrayType *t)
 
 StmtIteratorBase (Decl **dgi, Decl **dge)
 
 StmtIteratorBase ()
 
bool inDeclGroup () const
 
bool inSizeOfTypeVA () const
 
bool inStmt () const
 
const VariableArrayTypegetVAPtr () const
 
void setVAPtr (const VariableArrayType *P)
 
void NextDecl (bool ImmediateAdvance=true)
 
bool HandleDecl (Decl *D)
 
void NextVA ()
 
Stmt *& GetDeclExpr () const
 
- Protected Attributes inherited from clang::StmtIteratorBase
union {
   Stmt **   stmt
 
   Decl **   DGI
 
}; 
 
uintptr_t RawVAPtr = 0
 
Decl ** DGE
 

Detailed Description

Definition at line 125 of file StmtIterator.h.

Constructor & Destructor Documentation

◆ StmtIterator() [1/4]

clang::StmtIterator::StmtIterator ( )
explicitdefault

◆ StmtIterator() [2/4]

clang::StmtIterator::StmtIterator ( Stmt **  S)
inline

Definition at line 127 of file StmtIterator.h.

◆ StmtIterator() [3/4]

clang::StmtIterator::StmtIterator ( Decl **  dgi,
Decl **  dge 
)
inline

Definition at line 128 of file StmtIterator.h.

◆ StmtIterator() [4/4]

clang::StmtIterator::StmtIterator ( const VariableArrayType t)
inline

Definition at line 130 of file StmtIterator.h.

References clang::cast_away_const().

Friends And Related Function Documentation

◆ cast_away_const

StmtIterator cast_away_const ( const ConstStmtIterator RHS)
friend

Definition at line 152 of file StmtIterator.h.


The documentation for this struct was generated from the following file: