Lines Matching defs:CondExpr
454 Expr *CondExpr =
456 if (!CondExpr)
458 QualType CondType = CondExpr->getType();
874 Expr *CondExpr = Cond.get().second;
877 !Diags.isIgnored(diag::warn_comma_operator, CondExpr->getExprLoc()))
878 CommaVisitor(*this).Visit(CondExpr);
881 DiagnoseEmptyStmtBody(CondExpr->getEndLoc(), thenStmt,
1057 Expr *CondExpr = Cond.get().second;
1058 assert((Cond.isInvalid() || CondExpr) && "switch with no condition");
1060 if (CondExpr && !CondExpr->isTypeDependent()) {
1065 if (!CondExpr->getType()->isIntegralOrEnumerationType())
1067 if (CondExpr->isKnownToHaveBooleanValue()) {
1072 << CondExpr->getSourceRange();
1078 auto *SS = SwitchStmt::Create(Context, InitStmt, Cond.get().first, CondExpr,
1189 Expr *CondExpr = SS->getCond();
1190 if (!CondExpr) return StmtError();
1192 QualType CondType = CondExpr->getType();
1201 const Expr *CondExprBeforePromotion = CondExpr;
1208 = CondExpr->isTypeDependent() || CondExpr->isValueDependent();
1298 HasConstantCond = CondExpr->EvaluateAsInt(Result, Context,
1450 Diag(CondExpr->getExprLoc(), diag::warn_missing_case_for_condition)
1452 << CondExpr->getSourceRange();
1562 auto DB = Diag(CondExpr->getExprLoc(), TheDefaultStmt
1578 DiagnoseEmptyStmtBody(CondExpr->getEndLoc(), BodyStmt,