Skip to content

Commit 2c0a185

Browse files
committed
Remove unneeded LLVM_FALLTHROUGH. NFC
1 parent e71ce00 commit 2c0a185

File tree

5 files changed

+0
-8
lines changed

5 files changed

+0
-8
lines changed

clang/lib/Driver/ToolChains/AIX.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,7 @@ void AIX::AddOpenMPIncludeArgs(const ArgList &DriverArgs,
376376
addSystemInclude(DriverArgs, CC1Args, PathOpenMP.str());
377377
break;
378378
case Driver::OMPRT_IOMP5:
379-
LLVM_FALLTHROUGH;
380379
case Driver::OMPRT_GOMP:
381-
LLVM_FALLTHROUGH;
382380
case Driver::OMPRT_Unknown:
383381
// Unknown / unsupported include paths.
384382
break;

clang/tools/clang-installapi/Options.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,9 +594,7 @@ getInterfaceFile(const StringRef Filename) {
594594
std::unique_ptr<InterfaceFile> IF;
595595
switch (identify_magic(Buffer->getBuffer())) {
596596
case file_magic::macho_dynamically_linked_shared_lib:
597-
LLVM_FALLTHROUGH;
598597
case file_magic::macho_dynamically_linked_shared_lib_stub:
599-
LLVM_FALLTHROUGH;
600598
case file_magic::macho_universal_binary:
601599
return DylibReader::get(Buffer->getMemBufferRef());
602600
break;

flang/lib/Frontend/FrontendActions.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,6 @@ getOutputStream(CompilerInstance &ci, llvm::StringRef inFile,
861861
return ci.createDefaultOutputFile(
862862
/*Binary=*/false, inFile, /*extension=*/"ll");
863863
case BackendActionTy::Backend_EmitFIR:
864-
LLVM_FALLTHROUGH;
865864
case BackendActionTy::Backend_EmitHLFIR:
866865
return ci.createDefaultOutputFile(
867866
/*Binary=*/false, inFile, /*extension=*/"mlir");

llvm/lib/IR/Verifier.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6226,7 +6226,6 @@ void Verifier::visitIntrinsicCall(Intrinsic::ID ID, CallBase &Call) {
62266226
break;
62276227
}
62286228
case Intrinsic::experimental_convergence_entry:
6229-
LLVM_FALLTHROUGH;
62306229
case Intrinsic::experimental_convergence_anchor:
62316230
break;
62326231
case Intrinsic::experimental_convergence_loop:

llvm/tools/llvm-readtapi/llvm-readtapi.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,7 @@ getInterfaceFile(const StringRef Filename, bool ResetBanner = true) {
133133
std::unique_ptr<InterfaceFile> IF;
134134
switch (identify_magic(Buffer->getBuffer())) {
135135
case file_magic::macho_dynamically_linked_shared_lib:
136-
LLVM_FALLTHROUGH;
137136
case file_magic::macho_dynamically_linked_shared_lib_stub:
138-
LLVM_FALLTHROUGH;
139137
case file_magic::macho_universal_binary:
140138
IF = ExitOnErr(DylibReader::get(Buffer->getMemBufferRef()));
141139
break;

0 commit comments

Comments
 (0)