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 {
67
67
var customMirror : Mirror { Mirror ( self , children: [ ] ) }
68
68
}
69
69
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
-
95
70
//===----------------------------------------------------------------------===//
96
71
// StringRef
97
72
//===----------------------------------------------------------------------===//
Original file line number Diff line number Diff line change @@ -126,10 +126,7 @@ private struct DiagnoseDependence {
126
126
}
127
127
128
128
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) " )
133
130
reportEscaping ( operand: operand)
134
131
}
135
132
You can’t perform that action at this time.
0 commit comments