Skip to content

Commit 340b53f

Browse files
committed
remove unreachable code from swift-ide-test
there's a previous check for `ActionType::GenerateModuleAPIDescription` which returns immediately, so this code is unreachable.
1 parent e29398d commit 340b53f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tools/swift-ide-test/swift-ide-test.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2474,11 +2474,6 @@ int main(int argc, char *argv[]) {
24742474
options::InputFilenames);
24752475
}
24762476

2477-
if (options::Action == ActionType::GenerateModuleAPIDescription) {
2478-
llvm::errs() << "unimplemented\n";
2479-
return 1;
2480-
}
2481-
24822477
if (options::Action == ActionType::DumpCompletionCache) {
24832478
if (options::InputFilenames.empty()) {
24842479
llvm::errs() << "-dump-completin-cache requires an input file\n";

0 commit comments

Comments
 (0)