File tree Expand file tree Collapse file tree 2 files changed +1
-29
lines changed
SwiftCompilerSources/Sources Expand file tree Collapse file tree 2 files changed +1
-29
lines changed Original file line number Diff line number Diff line change @@ -67,31 +67,6 @@ public extension NoReflectionChildren {
6767 var customMirror : Mirror { Mirror ( self , children: [ ] ) }
6868}
6969
70- #if !os(Windows)
71- // TODO: https://github.com/apple/swift/issues/73252
72-
73- public var standardError = CFileStream ( fp: stderr)
74-
75- #if os(Android) || canImport(Musl)
76- public typealias FILEPointer = OpaquePointer
77- #else
78- public typealias FILEPointer = UnsafeMutablePointer < FILE >
79- #endif
80-
81- public struct CFileStream : TextOutputStream {
82- var fp : FILEPointer
83-
84- public func write( _ string: String ) {
85- fputs ( string, fp)
86- }
87-
88- public func flush( ) {
89- fflush ( fp)
90- }
91- }
92-
93- #endif
94-
9570//===----------------------------------------------------------------------===//
9671// StringRef
9772//===----------------------------------------------------------------------===//
Original file line number Diff line number Diff line change @@ -126,10 +126,7 @@ private struct DiagnoseDependence {
126126 }
127127
128128 func reportUnknown( operand: Operand ) {
129- #if !os(Windows)
130- // TODO: https://github.com/apple/swift/issues/73252
131- standardError. write ( " Unknown use: \( operand) \n \( function) " )
132- #endif
129+ log ( " Unknown use: \( operand) \n \( function) " )
133130 reportEscaping ( operand: operand)
134131 }
135132
You can’t perform that action at this time.
0 commit comments