Skip to content

Commit 1ac3447

Browse files
authored
[NFC][Migrator] Make Diff.h private (#28637)
Gardening: `Migrator` is the reason Diff.h is here. Reduce its visibility.
1 parent b9a6387 commit 1ac3447

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
File renamed without changes.

lib/Migrator/Migrator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12-
#include "swift/Basic/Diff.h"
12+
#include "Diff.h"
1313
#include "swift/Frontend/Frontend.h"
1414
#include "swift/Migrator/ASTMigratorPass.h"
1515
#include "swift/Migrator/EditorAdapter.h"

lib/Migrator/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ There are two main other pieces of the Migrator's implementation, *diffing* and
227227

228228
For diffing, we pulled in an STL port of Google's *diff-match-patch* library to perform the final diff of the start and end `MigrationState`'s text. This is a fairly standard implementation of the Myers Difference Algorithm (see *An O(ND) Difference Algorithm and Its Variations* by Eugene W. Myers).
229229

230-
> See include/swift/Basic/Diff.h
230+
> See Diff.h
231231
232232
### Editing
233233

0 commit comments

Comments
 (0)