Skip to content

Commit

Permalink
Revert "[Flang] Add fallthrough annotations in visit.h (#90014)"
Browse files Browse the repository at this point in the history
This reverts commit eb05a2e.
(The comming broke Fortran runtime builders:
https://lab.llvm.org/buildbot/#/builders/267/builds/1277)
  • Loading branch information
alexander-shaposhnikov committed Apr 25, 2024
1 parent 6dd2617 commit 8dcb90b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions flang/include/flang/Common/visit.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

#include "variant.h"
#include "flang/Common/api-attrs.h"
#include "llvm/Support/Compiler.h"
#include <type_traits>

namespace Fortran::common {
Expand All @@ -41,17 +40,11 @@ inline RT_API_ATTRS RESULT Log2VisitHelper(
return visitor(std::get<(LOW + N)>(std::forward<VARIANT>(u))...); \
}
VISIT_CASE_N(1)
LLVM_FALLTHROUGH;
VISIT_CASE_N(2)
LLVM_FALLTHROUGH;
VISIT_CASE_N(3)
LLVM_FALLTHROUGH;
VISIT_CASE_N(4)
LLVM_FALLTHROUGH;
VISIT_CASE_N(5)
LLVM_FALLTHROUGH;
VISIT_CASE_N(6)
LLVM_FALLTHROUGH;
VISIT_CASE_N(7)
#undef VISIT_CASE_N
}
Expand Down

0 comments on commit 8dcb90b

Please sign in to comment.