Lines Matching refs:CondResult

492   ExprResult CondResult(CondVal.release());  in ActOnIfStmt()  local
497 CondResult = CheckConditionVariable(ConditionVar, IfLoc, true); in ActOnIfStmt()
498 if (CondResult.isInvalid()) in ActOnIfStmt()
501 Expr *ConditionExpr = CondResult.getAs<Expr>(); in ActOnIfStmt()
580 ExprResult CondResult; in ActOnStartOfSwitchStmt() local
585 CondResult = CheckConditionVariable(ConditionVar, SourceLocation(), false); in ActOnStartOfSwitchStmt()
586 if (CondResult.isInvalid()) in ActOnStartOfSwitchStmt()
589 Cond = CondResult.get(); in ActOnStartOfSwitchStmt()
642 CondResult = in ActOnStartOfSwitchStmt()
644 if (CondResult.isInvalid()) return StmtError(); in ActOnStartOfSwitchStmt()
645 Cond = CondResult.get(); in ActOnStartOfSwitchStmt()
648 CondResult = UsualUnaryConversions(Cond); in ActOnStartOfSwitchStmt()
649 if (CondResult.isInvalid()) return StmtError(); in ActOnStartOfSwitchStmt()
650 Cond = CondResult.get(); in ActOnStartOfSwitchStmt()
653 CondResult = ActOnFinishFullExpr(Cond, SwitchLoc); in ActOnStartOfSwitchStmt()
654 if (CondResult.isInvalid()) in ActOnStartOfSwitchStmt()
656 Cond = CondResult.get(); in ActOnStartOfSwitchStmt()
1226 ExprResult CondResult(Cond.release()); in ActOnWhileStmt() local
1231 CondResult = CheckConditionVariable(ConditionVar, WhileLoc, true); in ActOnWhileStmt()
1232 if (CondResult.isInvalid()) in ActOnWhileStmt()
1235 Expr *ConditionExpr = CondResult.get(); in ActOnWhileStmt()
1256 ExprResult CondResult = CheckBooleanCondition(Cond, DoLoc); in ActOnDoStmt() local
1257 if (CondResult.isInvalid()) in ActOnDoStmt()
1259 Cond = CondResult.get(); in ActOnDoStmt()
1261 CondResult = ActOnFinishFullExpr(Cond, DoLoc); in ActOnDoStmt()
1262 if (CondResult.isInvalid()) in ActOnDoStmt()
1264 Cond = CondResult.get(); in ActOnDoStmt()