mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
* rename the CrossModuleSerializationSetup pass to simply CrossModuleOptimization * remove the CMO specific serializer pass. Instead run the CrossModuleSerializationSetup pass directly before the standard serializer pass. * correctly handle shared functions (e.g. specializations) * refactoring
19 lines
217 B
Swift
19 lines
217 B
Swift
|
|
public struct PrivateStr {
|
|
var i: Int
|
|
|
|
public init(i: Int) {
|
|
self.i = i
|
|
}
|
|
|
|
@inline(never)
|
|
public func test() -> Int {
|
|
return i
|
|
}
|
|
}
|
|
|
|
@inline(never)
|
|
public func privateFunc() -> Int {
|
|
return 40
|
|
}
|