Lines Matching refs:decl
15 #include "clang/AST/Decl.h"
44 if (VarDecl* VD = dyn_cast<VarDecl>(decl))
59 assert(!decl);
68 assert(decl);
72 decl = 0;
73 else if (HandleDecl(decl))
90 bool StmtIteratorBase::HandleDecl(Decl* D) {
116 StmtIteratorBase::StmtIteratorBase(Decl *d, Stmt **s)
117 : stmt(s), decl(d), RawVAPtr(d ? DeclMode : 0) {
118 if (decl)
122 StmtIteratorBase::StmtIteratorBase(Decl** dgi, Decl** dge)
128 : stmt(0), decl(0), RawVAPtr(SizeOfTypeVAMode) {
148 if (VarDecl* VD = dyn_cast<VarDecl>(decl)) {
153 EnumConstantDecl* ECD = cast<EnumConstantDecl>(decl);