Lines Matching refs:CondExpr
450 Expr *CondExpr =
452 if (!CondExpr)
454 QualType CondType = CondExpr->getType();
590 Expr *CondExpr = Cond.get().second;
593 !Diags.isIgnored(diag::warn_comma_operator, CondExpr->getExprLoc()))
594 CommaVisitor(*this).Visit(CondExpr);
597 DiagnoseEmptyStmtBody(CondExpr->getEndLoc(), thenStmt,
743 Expr *CondExpr = Cond.get().second;
744 assert((Cond.isInvalid() || CondExpr) && "switch with no condition");
746 if (CondExpr && !CondExpr->isTypeDependent()) {
751 if (!CondExpr->getType()->isIntegralOrEnumerationType())
753 if (CondExpr->isKnownToHaveBooleanValue()) {
758 << CondExpr->getSourceRange();
764 auto *SS = SwitchStmt::Create(Context, InitStmt, Cond.get().first, CondExpr);
874 Expr *CondExpr = SS->getCond();
875 if (!CondExpr) return StmtError();
877 QualType CondType = CondExpr->getType();
886 const Expr *CondExprBeforePromotion = CondExpr;
893 = CondExpr->isTypeDependent() || CondExpr->isValueDependent();
983 HasConstantCond = CondExpr->EvaluateAsInt(Result, Context,
1135 Diag(CondExpr->getExprLoc(), diag::warn_missing_case_for_condition)
1137 << CondExpr->getSourceRange();
1247 DiagnosticBuilder DB = Diag(CondExpr->getExprLoc(),
1263 DiagnoseEmptyStmtBody(CondExpr->getEndLoc(), BodyStmt,