13 #ifndef LLVM_CLANG_AST_STMTITERATOR_H 14 #define LLVM_CLANG_AST_STMTITERATOR_H 25 class VariableArrayType;
69 void NextDecl(
bool ImmediateAdvance =
true);
76 template <
typename DERIVED,
typename REFERENCE>
78 public std::iterator<std::forward_iterator_tag,
80 REFERENCE, REFERENCE> {
98 return static_cast<DERIVED&
>(*this);
102 DERIVED tmp =
static_cast<DERIVED&
>(*this);
148 const_cast<
Stmt **>(S)) {}
157 #endif // LLVM_CLANG_AST_STMTITERATOR_H
ConstStmtIterator(const StmtIterator &RHS)
Stmt - This represents one statement.
Decl - This represents one declaration (or definition), e.g.
The l-value was an access to a declared entity or something equivalently strong, like the address of ...
const VariableArrayType * getVAPtr() const
StmtIteratorImpl(const VariableArrayType *t)
StmtIterator cast_away_const(const ConstStmtIterator &RHS)
clang::CharUnits operator*(clang::CharUnits::QuantityType Scale, const clang::CharUnits &CU)
REFERENCE operator->() const
void NextDecl(bool ImmediateAdvance=true)
StmtIteratorImpl(const StmtIteratorBase &RHS)
__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
ConstStmtIterator(Stmt *const *S)
StmtIterator(Decl **dgi, Decl **dge)
bool inSizeOfTypeVA() const
bool operator!=(const DERIVED &RHS) const
Stmt *& GetDeclExpr() const
StmtIteratorBase(Stmt **s)
Dataflow Directional Tag Classes.
StmtIterator(const VariableArrayType *t)
StmtIteratorImpl(Decl **dgi, Decl **dge)
REFERENCE operator*() const
void setVAPtr(const VariableArrayType *P)
Represents a C array with a specified size that is not an integer-constant-expression.
StmtIteratorImpl(Stmt **s)