Lines Matching refs:CondExpr
390 if (Expr *CondExpr = in ActOnCaseStmt() local
392 QualType CondType = CondExpr->getType(); in ActOnCaseStmt()
519 Expr *CondExpr = Cond.get().second; in ActOnIfStmt() local
521 CondExpr->getExprLoc())) in ActOnIfStmt()
522 CommaVisitor(*this).Visit(CondExpr); in ActOnIfStmt()
525 DiagnoseEmptyStmtBody(CondExpr->getLocEnd(), thenStmt, in ActOnIfStmt()
750 Expr *CondExpr = SS->getCond(); in ActOnFinishSwitchStmt() local
751 if (!CondExpr) return StmtError(); in ActOnFinishSwitchStmt()
753 QualType CondType = CondExpr->getType(); in ActOnFinishSwitchStmt()
755 Expr *CondExprBeforePromotion = CondExpr; in ActOnFinishSwitchStmt()
766 if (!CondExpr->isTypeDependent()) { in ActOnFinishSwitchStmt()
773 if (CondExpr->isKnownToHaveBooleanValue()) { in ActOnFinishSwitchStmt()
778 << CondExpr->getSourceRange(); in ActOnFinishSwitchStmt()
785 = CondExpr->isTypeDependent() || CondExpr->isValueDependent(); in ActOnFinishSwitchStmt()
890 HasConstantCond = CondExpr->EvaluateAsInt(ConstantCondValue, Context, in ActOnFinishSwitchStmt()
1060 Diag(CondExpr->getExprLoc(), diag::warn_missing_case_for_condition) in ActOnFinishSwitchStmt()
1062 << CondExpr->getSourceRange(); in ActOnFinishSwitchStmt()
1154 DiagnosticBuilder DB = Diag(CondExpr->getExprLoc(), in ActOnFinishSwitchStmt()
1170 DiagnoseEmptyStmtBody(CondExpr->getLocEnd(), BodyStmt, in ActOnFinishSwitchStmt()