Revert "Call into the BuildSystemManager from SwiftLanguageServer to get build settings"

This reverts commit 9dd38798bb.
This commit is contained in:
Ben Barham
2023-09-28 15:51:07 -07:00
parent 212c497eb0
commit 15bdcc42e1
21 changed files with 137 additions and 221 deletions

View File

@@ -51,13 +51,6 @@ public protocol BuildSystem: AnyObject {
/// initial reports as well as changes.
var delegate: BuildSystemDelegate? { get set }
/// Retrieve build settings for the given document with the given source
/// language.
///
/// Returns `nil` if the build system can't provide build settings for this
/// file or if it hasn't computed build settings for the file yet.
func buildSettings(for document: DocumentURI, language: Language) async throws -> FileBuildSettings?
/// Register the given file for build-system level change notifications, such
/// as command line flag changes, dependency changes, etc.
///