Skip to content

Commit e871ce9

Browse files
committed
LifetimeDependenceDiagnostics pass order comments
1 parent 89ea8f6 commit e871ce9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

SwiftCompilerSources/Sources/Optimizer/FunctionPasses/LifetimeDependenceDiagnostics.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
1010
//
1111
//===----------------------------------------------------------------------===//
12+
///
13+
/// Pass dependencies:
14+
///
15+
/// - After MoveOnly checking fixes non-Copyable lifetimes.
16+
///
17+
/// - Before MoveOnlyTypeEliminator removes ownership operations on trivial types, which loses variable information
18+
/// required for diagnostics.
19+
///
20+
//===----------------------------------------------------------------------===//
1221

1322
import AST
1423
import SIL

0 commit comments

Comments
 (0)