File tree Expand file tree Collapse file tree 3 files changed +4
-46
lines changed
SwiftCompilerPluginMessageHandling Expand file tree Collapse file tree 3 files changed +4
-46
lines changed Original file line number Diff line number Diff line change 1111//===----------------------------------------------------------------------===//
1212
1313#if swift(>=6.0)
14- #if canImport(Darwin)
15- private import Darwin
16- #elseif canImport(Glibc)
17- private import Glibc
18- #elseif canImport(ucrt)
19- private import ucrt
20- #endif
14+ private import _SwiftSyntaxCShims
2115#else
22- #if canImport(Darwin)
23- import Darwin
24- #elseif canImport(Glibc)
25- import Glibc
26- #elseif canImport(ucrt)
27- import ucrt
28- #endif
16+ import _SwiftSyntaxCShims
2917#endif
3018
3119func decodeFromJSON< T: Decodable > ( json: UnsafeBufferPointer < UInt8 > ) throws -> T {
Original file line number Diff line number Diff line change 1212
1313#if swift(>=6.0)
1414private import _SwiftSyntaxCShims
15- #if canImport(Darwin)
16- private import Darwin
17- #elseif canImport(Glibc)
18- private import Glibc
19- #elseif canImport(ucrt)
20- private import ucrt
21- #endif
2215#else
2316import _SwiftSyntaxCShims
24- #if canImport(Darwin)
25- import Darwin
26- #elseif canImport(Glibc)
27- import Glibc
28- #elseif canImport(ucrt)
29- import ucrt
30- #endif
3117#endif
3218
3319#if canImport(ucrt)
Original file line number Diff line number Diff line change 1111//===----------------------------------------------------------------------===//
1212
1313#if swift(>=6.0)
14- #if canImport(Darwin)
15- private import Darwin
16- #elseif canImport(Glibc)
17- private import Glibc
18- #elseif canImport(Musl)
19- private import Musl
20- #elseif canImport(ucrt)
21- private import ucrt
22- #endif
14+ private import _SwiftSyntaxCShims
2315#else
24- #if canImport(Darwin)
25- import Darwin
26- #elseif canImport(Glibc)
27- import Glibc
28- #elseif canImport(Musl)
29- import Musl
30- #elseif canImport(ucrt)
31- import ucrt
32- #endif
16+ import _SwiftSyntaxCShims
3317#endif
3418
3519/// Represent a string.
You can’t perform that action at this time.
0 commit comments