Skip to content

Commit 747d2f3

Browse files
authored
Merge pull request #1106 from ahoppen/ahoppen/fix-it-applier
Use FixItApplier from SwiftSyntax
2 parents d64a4ab + 9d0c3e5 commit 747d2f3

File tree

4 files changed

+3
-84
lines changed

4 files changed

+3
-84
lines changed

Package.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ let package = Package(
7171
"SourceKitD",
7272
"SKCore",
7373
.product(name: "ArgumentParser", package: "swift-argument-parser"),
74+
.product(name: "SwiftIDEUtils", package: "swift-syntax"),
7475
.product(name: "SwiftSyntax", package: "swift-syntax"),
7576
.product(name: "SwiftParser", package: "swift-syntax"),
7677
.product(name: "SwiftToolsSupport-auto", package: "swift-tools-support-core"),

Sources/Diagnose/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
add_library(Diagnose STATIC
22
CommandLineArgumentsReducer.swift
33
DiagnoseCommand.swift
4-
FixItApplier.swift
54
OSLogScraper.swift
65
ReductionError.swift
76
ReproducerBundle.swift
@@ -18,6 +17,7 @@ target_link_libraries(Diagnose PUBLIC
1817
SKCore
1918
SourceKitD
2019
ArgumentParser
20+
SwiftSyntax::SwiftIDEUtils
2121
SwiftSyntax::SwiftSyntax
2222
SwiftSyntax::SwiftParser
2323
TSCBasic

Sources/Diagnose/FixItApplier.swift

Lines changed: 0 additions & 83 deletions
This file was deleted.

Sources/Diagnose/SourceReducer.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import Foundation
1414
import LSPLogging
1515
import SourceKitD
16+
@_spi(FixItApplier) import SwiftIDEUtils
1617
import SwiftParser
1718
import SwiftSyntax
1819

0 commit comments

Comments
 (0)