Skip to content

Commit 8dcb90b

Browse files
Revert "[Flang] Add fallthrough annotations in visit.h (llvm#90014)"
This reverts commit eb05a2e. (The comming broke Fortran runtime builders: https://lab.llvm.org/buildbot/#/builders/267/builds/1277)
1 parent 6dd2617 commit 8dcb90b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

flang/include/flang/Common/visit.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323

2424
#include "variant.h"
2525
#include "flang/Common/api-attrs.h"
26-
#include "llvm/Support/Compiler.h"
2726
#include <type_traits>
2827

2928
namespace Fortran::common {
@@ -41,17 +40,11 @@ inline RT_API_ATTRS RESULT Log2VisitHelper(
4140
return visitor(std::get<(LOW + N)>(std::forward<VARIANT>(u))...); \
4241
}
4342
VISIT_CASE_N(1)
44-
LLVM_FALLTHROUGH;
4543
VISIT_CASE_N(2)
46-
LLVM_FALLTHROUGH;
4744
VISIT_CASE_N(3)
48-
LLVM_FALLTHROUGH;
4945
VISIT_CASE_N(4)
50-
LLVM_FALLTHROUGH;
5146
VISIT_CASE_N(5)
52-
LLVM_FALLTHROUGH;
5347
VISIT_CASE_N(6)
54-
LLVM_FALLTHROUGH;
5548
VISIT_CASE_N(7)
5649
#undef VISIT_CASE_N
5750
}

0 commit comments

Comments
 (0)