From 88322f045d240d300792c6fd20d2e24c37a35859 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 23 Feb 2024 16:47:18 +0900 Subject: [PATCH] tools: fix missing [[fallthrough]] in js2c The latest clang warns about this. --- tools/js2c.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/js2c.cc b/tools/js2c.cc index 1d1ce31d6339e7..0fa9c5954d24a5 100644 --- a/tools/js2c.cc +++ b/tools/js2c.cc @@ -603,6 +603,7 @@ bool Simplify(const std::vector& code, simplified_count++; break; } + [[fallthrough]]; } default: { simplified->push_back(code[i]);