clang  10.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
Collaboration diagram for clang::StmtIterator:
Collaboration graph

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


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 124 of file StmtIterator.h.

Constructor & Destructor Documentation

◆ StmtIterator() [1/4]

clang::StmtIterator::StmtIterator ( )

◆ StmtIterator() [2/4]

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

Definition at line 126 of file StmtIterator.h.

◆ StmtIterator() [3/4]

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

Definition at line 127 of file StmtIterator.h.

◆ StmtIterator() [4/4]

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

Definition at line 129 of file StmtIterator.h.

References clang::cast_away_const().

Friends And Related Function Documentation

◆ cast_away_const

StmtIterator cast_away_const ( const ConstStmtIterator RHS)

Definition at line 151 of file StmtIterator.h.

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