14 #ifndef LLVM_CLANG_AST_STMTITERATOR_H
15 #define LLVM_CLANG_AST_STMTITERATOR_H
17 #include "llvm/Support/Compiler.h"
18 #include "llvm/Support/DataTypes.h"
28 class VariableArrayType;
63 void NextDecl(
bool ImmediateAdvance =
true);
76 template <
typename DERIVED,
typename REFERENCE>
80 REFERENCE, REFERENCE> {
97 return static_cast<DERIVED&
>(*this);
101 DERIVED tmp =
static_cast<DERIVED&
>(*this);
ConstStmtIterator(const StmtIterator &RHS)
bool inSizeOfTypeVA() const
StmtIteratorImpl(const VariableArrayType *t)
void NextDecl(bool ImmediateAdvance=true)
StmtIteratorImpl(const StmtIteratorBase &RHS)
REFERENCE operator->() const
__UINTPTR_TYPE__ uintptr_t
An unsigned integer type with the property that any valid pointer to void can be converted to this ty...
bool operator==(const DERIVED &RHS) const
StmtIterator(Decl **dgi, Decl **dge)
const TemplateArgument * iterator
Stmt *& GetDeclExpr() const
StmtIteratorBase(Stmt **s)
StmtIterator(const VariableArrayType *t)
REFERENCE operator*() const
StmtIteratorImpl(Decl **dgi, Decl **dge)
bool operator!=(const DERIVED &RHS) const
const VariableArrayType * getVAPtr() const
void setVAPtr(const VariableArrayType *P)
Represents a C array with a specified size that is not an integer-constant-expression.
StmtIteratorImpl(Stmt **s)