Home
last modified time | relevance | path

Searched refs:CondResult (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Sema/
DSemaStmt.cpp495 ExprResult CondResult(CondVal.release()); in ActOnIfStmt() local
500 CondResult = CheckConditionVariable(ConditionVar, IfLoc, true); in ActOnIfStmt()
501 CondResult = ActOnFinishFullExpr(CondResult.get(), IfLoc); in ActOnIfStmt()
503 Expr *ConditionExpr = CondResult.getAs<Expr>(); in ActOnIfStmt()
585 ExprResult CondResult; in ActOnStartOfSwitchStmt() local
590 CondResult = CheckConditionVariable(ConditionVar, SourceLocation(), false); in ActOnStartOfSwitchStmt()
591 if (CondResult.isInvalid()) in ActOnStartOfSwitchStmt()
594 Cond = CondResult.get(); in ActOnStartOfSwitchStmt()
647 CondResult = in ActOnStartOfSwitchStmt()
649 if (CondResult.isInvalid()) return StmtError(); in ActOnStartOfSwitchStmt()
[all …]
DSemaChecking.cpp6259 bool CondResult; in GetExprRange() local
6260 if (CO->getCond()->EvaluateAsBooleanCondition(CondResult, C)) in GetExprRange()
6261 return GetExprRange(C, CondResult ? CO->getTrueExpr() in GetExprRange()
DSemaExpr.cpp6627 ExprResult CondResult = CorrectDelayedTyposInExpr(CondExpr); in ActOnConditionalOp() local
6628 if (!CondResult.isUsable()) return ExprError(); in ActOnConditionalOp()
6629 CondExpr = CondResult.get(); in ActOnConditionalOp()
/external/clang/lib/AST/
DExprConstant.cpp9366 ICEDiag CondResult = CheckICE(Exp->getCond(), Ctx); in CheckICE() local
9367 if (CondResult.Kind == IK_NotICE) in CheckICE()
9368 return CondResult; in CheckICE()
9377 if (CondResult.Kind == IK_ICEIfUnevaluated) in CheckICE()
9378 return CondResult; in CheckICE()