Lines Matching refs:CondExpr
389 if (Expr *CondExpr = in ActOnCaseStmt() local
391 QualType CondType = CondExpr->getType(); in ActOnCaseStmt()
740 Expr *CondExpr = SS->getCond(); in ActOnFinishSwitchStmt() local
741 if (!CondExpr) return StmtError(); in ActOnFinishSwitchStmt()
743 QualType CondType = CondExpr->getType(); in ActOnFinishSwitchStmt()
745 Expr *CondExprBeforePromotion = CondExpr; in ActOnFinishSwitchStmt()
756 if (!CondExpr->isTypeDependent()) { in ActOnFinishSwitchStmt()
763 if (CondExpr->isKnownToHaveBooleanValue()) { in ActOnFinishSwitchStmt()
768 << CondExpr->getSourceRange(); in ActOnFinishSwitchStmt()
775 = CondExpr->isTypeDependent() || CondExpr->isValueDependent(); in ActOnFinishSwitchStmt()
880 HasConstantCond = CondExpr->EvaluateAsInt(ConstantCondValue, Context, in ActOnFinishSwitchStmt()
1049 Diag(CondExpr->getExprLoc(), diag::warn_missing_case_for_condition) in ActOnFinishSwitchStmt()
1051 << CondExpr->getSourceRange(); in ActOnFinishSwitchStmt()
1143 DiagnosticBuilder DB = Diag(CondExpr->getExprLoc(), in ActOnFinishSwitchStmt()
1159 DiagnoseEmptyStmtBody(CondExpr->getLocEnd(), BodyStmt, in ActOnFinishSwitchStmt()