Add missing break statement in switch.

This commit is contained in:
Stanislav Gatev 2022-02-17 09:37:02 +00:00
parent 1822a5ecdd
commit a480841566
1 changed files with 2 additions and 1 deletions

View File

@ -260,12 +260,13 @@ public:
auto *SubExprVal =
dyn_cast_or_null<BoolValue>(Env.getValue(*SubExpr, SkipPast::None));
if (SubExprVal == nullptr)
return;
break;
auto &ExprLoc = Env.createStorageLocation(*S);
Env.setStorageLocation(*S, ExprLoc);
Env.setValue(ExprLoc, Env.takeOwnership(
std::make_unique<NegationValue>(*SubExprVal)));
break;
}
default:
break;