Lines Matching refs:VarDecl
925 Stmt *Init, VarDecl *Var, Expr *Cond, SourceLocation LPL, in IfStmt()
959 IfStatementKind Kind, Stmt *Init, VarDecl *Var, in Create()
982 VarDecl *IfStmt::getConditionVariable() { in getConditionVariable()
986 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable()
989 void IfStmt::setConditionVariable(const ASTContext &Ctx, VarDecl *V) { in setConditionVariable()
1021 ForStmt::ForStmt(const ASTContext &C, Stmt *Init, Expr *Cond, VarDecl *condVar, in ForStmt()
1034 VarDecl *ForStmt::getConditionVariable() const { in getConditionVariable()
1039 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable()
1042 void ForStmt::setConditionVariable(const ASTContext &C, VarDecl *V) { in setConditionVariable()
1053 SwitchStmt::SwitchStmt(const ASTContext &Ctx, Stmt *Init, VarDecl *Var, in SwitchStmt()
1081 SwitchStmt *SwitchStmt::Create(const ASTContext &Ctx, Stmt *Init, VarDecl *Var, in Create()
1100 VarDecl *SwitchStmt::getConditionVariable() { in getConditionVariable()
1104 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable()
1107 void SwitchStmt::setConditionVariable(const ASTContext &Ctx, VarDecl *V) { in setConditionVariable()
1121 WhileStmt::WhileStmt(const ASTContext &Ctx, VarDecl *Var, Expr *Cond, in WhileStmt()
1143 WhileStmt *WhileStmt::Create(const ASTContext &Ctx, VarDecl *Var, Expr *Cond, in Create()
1161 VarDecl *WhileStmt::getConditionVariable() { in getConditionVariable()
1165 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable()
1168 void WhileStmt::setConditionVariable(const ASTContext &Ctx, VarDecl *V) { in setConditionVariable()
1190 ReturnStmt::ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate) in ReturnStmt()
1205 Expr *E, const VarDecl *NRVOCandidate) { in Create()
1207 void *Mem = Ctx.Allocate(totalSizeToAlloc<const VarDecl *>(HasNRVOCandidate), in Create()
1214 void *Mem = Ctx.Allocate(totalSizeToAlloc<const VarDecl *>(HasNRVOCandidate), in CreateEmpty()
1281 VarDecl *Var) in Capture()
1305 VarDecl *CapturedStmt::Capture::getCapturedVar() const { in getCapturedVar()
1431 bool CapturedStmt::capturesVariable(const VarDecl *Var) const { in capturesVariable()