mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Require Swift 6 to build SourceKit-LSP
This significantly cleans up our `import` statements
This commit is contained in:
@@ -10,20 +10,12 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import SKLogging
|
||||
import SwiftExtensions
|
||||
|
||||
#if compiler(>=6)
|
||||
package import BuildServerProtocol
|
||||
package import Foundation
|
||||
package import LanguageServerProtocol
|
||||
import SKLogging
|
||||
import SwiftExtensions
|
||||
package import ToolchainRegistry
|
||||
#else
|
||||
import BuildServerProtocol
|
||||
import Foundation
|
||||
import LanguageServerProtocol
|
||||
import ToolchainRegistry
|
||||
#endif
|
||||
|
||||
fileprivate extension CompilationDatabaseCompileCommand {
|
||||
/// The first entry in the command line identifies the compiler that should be used to compile the file and can thus
|
||||
|
||||
Reference in New Issue
Block a user