clang 20.0.0git
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]

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)
 
Stmt *& operator* () const
 
Stmt *& operator-> () const
 

Friends

StmtIterator cast_away_const (const ConstStmtIterator &RHS)
 

Additional Inherited Members

- Public Types inherited from clang::StmtIteratorImpl< StmtIterator, Stmt *& >
using iterator_category = std::forward_iterator_tag
 
using value_type = Stmt *&
 
using difference_type = std::ptrdiff_t
 
using pointer = Stmt *&
 
using reference = Stmt *&
 
- 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 128 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 130 of file StmtIterator.h.

◆ StmtIterator() [3/4]

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

Definition at line 131 of file StmtIterator.h.

◆ StmtIterator() [4/4]

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

Definition at line 133 of file StmtIterator.h.

Friends And Related Function Documentation

◆ cast_away_const

StmtIterator cast_away_const ( const ConstStmtIterator RHS)
friend

Definition at line 155 of file StmtIterator.h.


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