Lines Matching defs:WhileStmt
1129 WhileStmt::WhileStmt(const ASTContext &Ctx, VarDecl *Var, Expr *Cond,
1146 WhileStmt::WhileStmt(EmptyShell Empty, bool HasVar)
1151 WhileStmt *WhileStmt::Create(const ASTContext &Ctx, VarDecl *Var, Expr *Cond,
1158 alignof(WhileStmt));
1159 return new (Mem) WhileStmt(Ctx, Var, Cond, Body, WL, LParenLoc, RParenLoc);
1162 WhileStmt *WhileStmt::CreateEmpty(const ASTContext &Ctx, bool HasVar) {
1165 alignof(WhileStmt));
1166 return new (Mem) WhileStmt(EmptyShell(), HasVar);
1169 VarDecl *WhileStmt::getConditionVariable() {
1176 void WhileStmt::setConditionVariable(const ASTContext &Ctx, VarDecl *V) {