struct Stmt::CastIterator
Declaration
template <typename T,
typename TPtr = T*,
typename StmtPtr = clang::Stmt*>
struct Stmt::CastIterator { /* full declaration omitted */ };
Description
Iterator for iterating over Stmt * arrays that contain only T *. This is needed because AST nodes use Stmt* arrays to store references to children (to be compatible with StmtIterator).
Declared at: clang/include/clang/AST/Stmt.h:1121
Templates
- T
- TPtr = T *
- StmtPtr = clang::Stmt *
Method Overview
- public CastIterator<T, TPtr, StmtPtr>()
- public CastIterator<T, TPtr, StmtPtr>(StmtPtr * I)
Methods
¶CastIterator<T, TPtr, StmtPtr>()
CastIterator<T, TPtr, StmtPtr>()
Declared at: clang/include/clang/AST/Stmt.h:1126
¶CastIterator<T, TPtr, StmtPtr>(StmtPtr* I)
CastIterator<T, TPtr, StmtPtr>(StmtPtr* I)
Declared at: clang/include/clang/AST/Stmt.h:1127
Parameters
- StmtPtr* I