We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66cea1e commit 0c5474fCopy full SHA for 0c5474f
clang/lib/CIR/CodeGen/CIRGenExpr.cpp
@@ -1202,7 +1202,7 @@ Address CIRGenFunction::emitArrayToPointerDecay(const Expr *e) {
1202
static std::optional<LValue> handleConditionalOperatorLValueSimpleCase(
1203
CIRGenFunction &cgf, const AbstractConditionalOperator *e) {
1204
const Expr *condExpr = e->getCond();
1205
- bool condExprBool;
+ bool condExprBool = false;
1206
if (cgf.constantFoldsToSimpleInteger(condExpr, condExprBool)) {
1207
const Expr *live = e->getTrueExpr(), *dead = e->getFalseExpr();
1208
if (!condExprBool)
0 commit comments