mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Use the modern spelling for the nullability attributes in the test mock headers. Currently, this was relying on the predefined macros from clang to work. However, those are only available on Darwin targets. This is needed to make the mock environments more portable.
Don't modify files directly here. Instead, modify the files in the swift repository and copy over the mock SDK like this: cp -r ../swift/test/IDE/Inputs/mock-sdk/*.framework test/Inputs/libIDE-mock-sdk/