aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4codegen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/compiler/qv4codegen.cpp')
-rw-r--r--src/qml/compiler/qv4codegen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4codegen.cpp b/src/qml/compiler/qv4codegen.cpp
index f7c4e2c98f..548b8e7548 100644
--- a/src/qml/compiler/qv4codegen.cpp
+++ b/src/qml/compiler/qv4codegen.cpp
@@ -1533,7 +1533,7 @@ bool Codegen::visit(BinaryExpression *ast)
setExprResult(binopHelper(static_cast<QSOperator::Op>(ast->op), right, left));
break;
}
- // intentional fall-through!
+ Q_FALLTHROUGH();
case QSOperator::In:
case QSOperator::InstanceOf:
case QSOperator::As:
@@ -2260,7 +2260,7 @@ bool Codegen::visit(DeleteExpression *ast)
case Reference::StackSlot:
if (!expr.stackSlotIsLocalOrArgument)
break;
- // fall through
+ Q_FALLTHROUGH();
case Reference::ScopedLocal:
// Trying to delete a function argument might throw.
if (_context->isStrict) {