mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The Clang importer implicitly synthesizes @discardableResult for nearly all imported functions. Printing this attribute in the generated interface leads to a lot of noise. Mark it as implicit so we don't print it.
7 lines
210 B
Plaintext
7 lines
210 B
Plaintext
import FooHelper.FooHelperExplicit
|
|
@_exported import FooHelper.FooHelperSub
|
|
|
|
func fooHelperFunc1(_ a: Int32) -> Int32
|
|
var FooHelperUnnamedEnumeratorA1: Int { get }
|
|
var FooHelperUnnamedEnumeratorA2: Int { get }
|