From 340b53fbbcb8b2264db82a47e8378665e5f878a7 Mon Sep 17 00:00:00 2001 From: JP Simard Date: Wed, 9 Dec 2015 23:47:47 -0800 Subject: [PATCH] remove unreachable code from swift-ide-test there's a previous check for `ActionType::GenerateModuleAPIDescription` which returns immediately, so this code is unreachable. --- tools/swift-ide-test/swift-ide-test.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/swift-ide-test/swift-ide-test.cpp b/tools/swift-ide-test/swift-ide-test.cpp index bdb89fe0bd0aa..484dec7414214 100644 --- a/tools/swift-ide-test/swift-ide-test.cpp +++ b/tools/swift-ide-test/swift-ide-test.cpp @@ -2474,11 +2474,6 @@ int main(int argc, char *argv[]) { options::InputFilenames); } - if (options::Action == ActionType::GenerateModuleAPIDescription) { - llvm::errs() << "unimplemented\n"; - return 1; - } - if (options::Action == ActionType::DumpCompletionCache) { if (options::InputFilenames.empty()) { llvm::errs() << "-dump-completin-cache requires an input file\n";