File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
SwiftCompilerSources/Sources Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public extension NoReflectionChildren {
80
80
//===----------------------------------------------------------------------===//
81
81
82
82
public struct StringRef : CustomStringConvertible , NoReflectionChildren {
83
- let _bridged : BridgedStringRef
83
+ public let _bridged : BridgedStringRef
84
84
85
85
public init ( bridged: BridgedStringRef ) { self . _bridged = bridged }
86
86
Original file line number Diff line number Diff line change @@ -25,6 +25,11 @@ extension String: DiagnosticArgument {
25
25
_withBridgedStringRef { fn ( BridgedDiagnosticArgument ( $0) ) }
26
26
}
27
27
}
28
+ extension StringRef : DiagnosticArgument {
29
+ func _withBridgedDiagnosticArgument( _ fn: ( BridgedDiagnosticArgument ) -> Void ) {
30
+ fn ( BridgedDiagnosticArgument ( _bridged) )
31
+ }
32
+ }
28
33
extension Int : DiagnosticArgument {
29
34
func _withBridgedDiagnosticArgument( _ fn: ( BridgedDiagnosticArgument ) -> Void ) {
30
35
fn ( BridgedDiagnosticArgument ( self ) )
You can’t perform that action at this time.
0 commit comments