clang API Documentation
#include <StmtIterator.h>
Protected Types | |
enum | { StmtMode = 0x0, SizeOfTypeVAMode = 0x1, DeclGroupMode = 0x2, Flags = 0x3 } |
Protected Member Functions | |
bool | inDeclGroup () const |
bool | inSizeOfTypeVA () const |
bool | inStmt () const |
const VariableArrayType * | getVAPtr () const |
void | setVAPtr (const VariableArrayType *P) |
void | NextDecl (bool ImmediateAdvance=true) |
bool | HandleDecl (Decl *D) |
void | NextVA () |
Stmt *& | GetDeclExpr () const |
StmtIteratorBase (Stmt **s) | |
StmtIteratorBase (const VariableArrayType *t) | |
StmtIteratorBase (Decl **dgi, Decl **dge) | |
StmtIteratorBase () | |
Protected Attributes | |
Stmt ** | stmt |
Decl ** | DGI |
uintptr_t | RawVAPtr |
Decl ** | DGE |
Definition at line 30 of file StmtIterator.h.
anonymous enum [protected] |
Definition at line 32 of file StmtIterator.h.
clang::StmtIteratorBase::StmtIteratorBase | ( | Stmt ** | s | ) | [inline, protected] |
Definition at line 67 of file StmtIterator.h.
StmtIteratorBase::StmtIteratorBase | ( | const VariableArrayType * | t | ) | [protected] |
Definition at line 100 of file StmtIterator.cpp.
References RawVAPtr.
StmtIteratorBase::StmtIteratorBase | ( | Decl ** | dgi, |
Decl ** | dge | ||
) | [protected] |
Definition at line 95 of file StmtIterator.cpp.
References NextDecl().
clang::StmtIteratorBase::StmtIteratorBase | ( | ) | [inline, protected] |
Definition at line 70 of file StmtIterator.h.
Stmt *& StmtIteratorBase::GetDeclExpr | ( | ) | const [protected] |
Definition at line 105 of file StmtIterator.cpp.
References clang::VarDecl::getInitAddress(), getVAPtr(), and inDeclGroup().
Referenced by clang::StmtIteratorImpl< StmtIterator, Stmt *& >::operator*().
const VariableArrayType* clang::StmtIteratorBase::getVAPtr | ( | ) | const [inline, protected] |
Definition at line 52 of file StmtIterator.h.
References Flags, and RawVAPtr.
Referenced by GetDeclExpr(), NextDecl(), NextVA(), and clang::StmtIteratorImpl< StmtIterator, Stmt *& >::operator++().
bool StmtIteratorBase::HandleDecl | ( | Decl * | D | ) | [protected] |
Definition at line 70 of file StmtIterator.cpp.
References FindVA(), and setVAPtr().
Referenced by NextDecl().
bool clang::StmtIteratorBase::inDeclGroup | ( | ) | const [inline, protected] |
Definition at line 40 of file StmtIterator.h.
References DeclGroupMode, Flags, and RawVAPtr.
Referenced by GetDeclExpr(), NextDecl(), NextVA(), and setVAPtr().
bool clang::StmtIteratorBase::inSizeOfTypeVA | ( | ) | const [inline, protected] |
Definition at line 44 of file StmtIterator.h.
References Flags, RawVAPtr, and SizeOfTypeVAMode.
Referenced by NextVA(), and setVAPtr().
bool clang::StmtIteratorBase::inStmt | ( | ) | const [inline, protected] |
Definition at line 48 of file StmtIterator.h.
References Flags, RawVAPtr, and StmtMode.
Referenced by clang::StmtIteratorImpl< StmtIterator, Stmt *& >::operator*(), and clang::StmtIteratorImpl< StmtIterator, Stmt *& >::operator++().
void StmtIteratorBase::NextDecl | ( | bool | ImmediateAdvance = true | ) | [protected] |
Definition at line 56 of file StmtIterator.cpp.
References DGE, DGI, getVAPtr(), HandleDecl(), inDeclGroup(), and RawVAPtr.
Referenced by NextVA(), clang::StmtIteratorImpl< StmtIterator, Stmt *& >::operator++(), and StmtIteratorBase().
void StmtIteratorBase::NextVA | ( | ) | [protected] |
Definition at line 33 of file StmtIterator.cpp.
References DGI, FindVA(), clang::ArrayType::getElementType(), clang::QualType::getTypePtr(), getVAPtr(), inDeclGroup(), inSizeOfTypeVA(), NextDecl(), RawVAPtr, and setVAPtr().
Referenced by clang::StmtIteratorImpl< StmtIterator, Stmt *& >::operator++().
void clang::StmtIteratorBase::setVAPtr | ( | const VariableArrayType * | P | ) | [inline, protected] |
Definition at line 56 of file StmtIterator.h.
References Flags, inDeclGroup(), inSizeOfTypeVA(), P, and RawVAPtr.
Referenced by HandleDecl(), and NextVA().
Decl** clang::StmtIteratorBase::DGE [protected] |
Definition at line 38 of file StmtIterator.h.
Referenced by NextDecl().
Decl** clang::StmtIteratorBase::DGI [protected] |
Definition at line 36 of file StmtIterator.h.
Referenced by NextDecl(), NextVA(), clang::StmtIteratorImpl< StmtIterator, Stmt *& >::operator!=(), and clang::StmtIteratorImpl< StmtIterator, Stmt *& >::operator==().
uintptr_t clang::StmtIteratorBase::RawVAPtr [protected] |
Definition at line 37 of file StmtIterator.h.
Referenced by getVAPtr(), inDeclGroup(), inSizeOfTypeVA(), inStmt(), NextDecl(), NextVA(), clang::StmtIteratorImpl< StmtIterator, Stmt *& >::operator!=(), clang::StmtIteratorImpl< StmtIterator, Stmt *& >::operator==(), setVAPtr(), and StmtIteratorBase().
Stmt** clang::StmtIteratorBase::stmt [protected] |
Definition at line 35 of file StmtIterator.h.
Referenced by clang::StmtIteratorImpl< StmtIterator, Stmt *& >::operator!=(), clang::StmtIteratorImpl< StmtIterator, Stmt *& >::operator*(), clang::StmtIteratorImpl< StmtIterator, Stmt *& >::operator++(), and clang::StmtIteratorImpl< StmtIterator, Stmt *& >::operator==().