Home | History | Annotate | Download | only in AST

Lines Matching refs:STMT

98 // See also Stmt.cpp:{getLocStart(),getLocEnd()}.
121 case Stmt::NoStmtClass: llvm_unreachable("statement without class");
123 #define STMT(type, base) \
124 case Stmt::type##Class: llvm_unreachable(#type " is not an Expr"); break;
126 case Stmt::type##Class: return getExprLocImpl<type>(this, &type::getExprLoc);
805 SubExprs = new (C) Stmt*[numargs+PREARGS_START+NumPreArgs];
833 SubExprs = new (C) Stmt*[numargs+PREARGS_START];
855 SubExprs = new (C) Stmt*[PREARGS_START];
863 SubExprs = new (C) Stmt*[PREARGS_START+NumPreArgs];
910 Stmt **NewSubExprs = new (C) Stmt*[NumArgs+PREARGS_START+NumPreArgs];
1380 case Stmt::Type##Class: \
1382 #define STMT(Type, Base)
1612 if (Stmt *S = *I) {
1623 if (Stmt *S = *I) {
1643 const Stmt *BlockExpr::getBody() const {
1646 Stmt *BlockExpr::getBody() {
1864 // however, if the result of the stmt expr is dead, we don't want to emit a
3016 SubExprs = new (C) Stmt*[nexpr];
3035 SubExprs = new (C) Stmt* [NumExprs];
3056 SubExprs(new (Context) Stmt*[END_EXPR+NumAssocs]), NumAssocs(NumAssocs),
3079 SubExprs(new (Context) Stmt*[END_EXPR+NumAssocs]), NumAssocs(NumAssocs),
3173 sizeof(Stmt *) * (NumIndexExprs + 1), 8);
3182 sizeof(Stmt *) * (NumIndexExprs + 1), 8);
3222 Stmt **SubExprs = reinterpret_cast<Stmt**>(reinterpret_cast<void**>(Ptr));
3231 Stmt **SubExprs = reinterpret_cast<Stmt**>(reinterpret_cast<void**>(Ptr));
3240 Stmt **SubExprs = reinterpret_cast<Stmt**>(reinterpret_cast<void**>(Ptr));
3277 Exprs = new (C) Stmt*[nexprs];
3387 Stmt::child_range UnaryExprOrTypeTraitExpr::children() {
3401 Stmt::child_range ObjCMessageExpr::children() {
3402 Stmt **begin;
3404 begin = reinterpret_cast<Stmt **>(this + 1);
3406 begin = reinterpret_cast<Stmt **>(getArgs());
3408 reinterpret_cast<Stmt **>(getArgs() + getNumArgs()));