mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Address review comments
This commit is contained in:
@@ -35,6 +35,14 @@ extension Optional<SourceLoc> {
|
||||
}
|
||||
}
|
||||
|
||||
public struct SourceRange {
|
||||
public let bridged: swift.SourceRange
|
||||
|
||||
public init(start: SourceLoc?) {
|
||||
self.bridged = swift.SourceRange(start: start.bridgedLocation)
|
||||
}
|
||||
}
|
||||
|
||||
public struct CharSourceRange {
|
||||
public let start: SourceLoc
|
||||
public let byteLength: UInt32
|
||||
|
||||
Reference in New Issue
Block a user