diff --git a/flang/include/flang/Common/visit.h b/flang/include/flang/Common/visit.h index 4d0897301e01d..d672ed49b9365 100644 --- a/flang/include/flang/Common/visit.h +++ b/flang/include/flang/Common/visit.h @@ -40,11 +40,17 @@ inline RT_API_ATTRS RESULT Log2VisitHelper( return visitor(std::get<(LOW + N)>(std::forward(u))...); \ } VISIT_CASE_N(1) + [[fallthrough]]; VISIT_CASE_N(2) + [[fallthrough]]; VISIT_CASE_N(3) + [[fallthrough]]; VISIT_CASE_N(4) + [[fallthrough]]; VISIT_CASE_N(5) + [[fallthrough]]; VISIT_CASE_N(6) + [[fallthrough]]; VISIT_CASE_N(7) #undef VISIT_CASE_N }