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 0afcfd6 commit e46e3abCopy full SHA for e46e3ab
clang/lib/CIR/Dialect/Transforms/CIRSimplify.cpp
@@ -236,7 +236,8 @@ struct SimplifySwitch : public OpRewritePattern<SwitchOp> {
236
} else if (kind != cir::CaseOpKind::Equal && cascadingCases.size() > 1) {
237
// If a Default, Anyof or Range case is found and there are previous
238
// cascading cases, merge all of them into the last cascading case.
239
- // We don't currently fold case range statements with other case statements.
+ // We don't currently fold case range statements with other case
240
+ // statements.
241
assert(!cir::MissingFeatures::foldRangeCase());
242
CaseOp lastCascadingCase = cascadingCases.back();
243
mergeCascadingInto(lastCascadingCase);
0 commit comments