clang  6.0.0svn
Public Member Functions | List of all members
clang::Stmt::ExprIterator Struct Reference

Iterator for iterating over Stmt * arrays that contain only Expr *. More...

#include "clang/AST/Stmt.h"

Inheritance diagram for clang::Stmt::ExprIterator:
Inheritance graph
[legend]
Collaboration diagram for clang::Stmt::ExprIterator:
Collaboration graph
[legend]

Public Member Functions

 ExprIterator ()
 
 ExprIterator (Stmt **I)
 
reference operator* () const
 

Detailed Description

Iterator for iterating over Stmt * arrays that contain only Expr *.

This is needed because AST nodes use Stmt* arrays to store references to children (to be compatible with StmtIterator).

Definition at line 315 of file Stmt.h.

Constructor & Destructor Documentation

◆ ExprIterator() [1/2]

clang::Stmt::ExprIterator::ExprIterator ( )
inline

Definition at line 318 of file Stmt.h.

◆ ExprIterator() [2/2]

clang::Stmt::ExprIterator::ExprIterator ( Stmt **  I)
inline

Definition at line 319 of file Stmt.h.

Member Function Documentation

◆ operator*()

reference clang::Stmt::ExprIterator::operator* ( ) const
inline

Definition at line 321 of file Stmt.h.


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