Skip to content

Commit 802f8e7

Browse files
committed
[sksupport] Remove unused old TSC argument parsing code
Fixes deprecation warnings while building sourcekit-lsp. We haven't used this code since we switched to swift-argument-parser, so just delete it.
1 parent 3635d25 commit 802f8e7

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Sources/SKSupport/BuildConfiguration.swift

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the Swift.org open source project
44
//
5-
// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
5+
// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors
66
// Licensed under Apache License v2.0 with Runtime Library Exception
77
//
88
// See https://swift.org/LICENSE.txt for license information
@@ -16,10 +16,3 @@ public enum BuildConfiguration: String {
1616
case debug
1717
case release
1818
}
19-
20-
extension BuildConfiguration: StringEnumArgument {
21-
/// Type of shell completion to provide for this argument.
22-
public static var completion: ShellCompletion {
23-
return ShellCompletion.none
24-
}
25-
}

0 commit comments

Comments
 (0)