Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp452 ExprResult CondResult(CondVal.release()); in ActOnIfStmt() local
457 CondResult = CheckConditionVariable(ConditionVar, IfLoc, true); in ActOnIfStmt()
458 if (CondResult.isInvalid()) in ActOnIfStmt()
461 Expr *ConditionExpr = CondResult.getAs<Expr>(); in ActOnIfStmt()
581 ExprResult CondResult; in ActOnStartOfSwitchStmt() local
586 CondResult = CheckConditionVariable(ConditionVar, SourceLocation(), false); in ActOnStartOfSwitchStmt()
587 if (CondResult.isInvalid()) in ActOnStartOfSwitchStmt()
590 Cond = CondResult.get(); in ActOnStartOfSwitchStmt()
643 CondResult = in ActOnStartOfSwitchStmt()
645 if (CondResult.isInvalid()) return StmtError(); in ActOnStartOfSwitchStmt()
[all …]
DSemaChecking.cpp5065 bool CondResult; in GetExprRange() local
5066 if (CO->getCond()->EvaluateAsBooleanCondition(CondResult, C)) in GetExprRange()
5067 return GetExprRange(C, CondResult ? CO->getTrueExpr() in GetExprRange()
/external/clang/lib/AST/
DExprConstant.cpp8622 ICEDiag CondResult = CheckICE(Exp->getCond(), Ctx); in CheckICE() local
8623 if (CondResult.Kind == IK_NotICE) in CheckICE()
8624 return CondResult; in CheckICE()
8633 if (CondResult.Kind == IK_ICEIfUnevaluated) in CheckICE()
8634 return CondResult; in CheckICE()