summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r--src/passes/Print.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index a10467018..cc4318ba9 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -3415,7 +3415,7 @@ printStackIR(StackIR* ir, std::ostream& o, Function* func) {
}
case StackInst::TryBegin:
catchIndexStack.push_back(0);
- // fallthrough
+ [[fallthrough]];
case StackInst::BlockBegin:
case StackInst::IfBegin:
case StackInst::LoopBegin: {
@@ -3427,7 +3427,7 @@ printStackIR(StackIR* ir, std::ostream& o, Function* func) {
}
case StackInst::TryEnd:
catchIndexStack.pop_back();
- // fallthrough
+ [[fallthrough]];
case StackInst::BlockEnd:
case StackInst::IfEnd:
case StackInst::LoopEnd: {