mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
...rather than replacing particular macros with an 'annotate' attribute and then looking for that. This isn't /really/ any particular win except maybe ever-so-slightly faster module imports (with one fewer attribute being added to each declaration in a mixed-source header). This doesn't remove the SWIFT_CLASS_EXTRA, SWIFT_PROTOCOL_EXTRA, or SWIFT_ENUM_EXTRA macros from PrintAsObjC (note that SWIFT_EXTENSION_EXTRA was never used). They're not exactly needed anymore, but they're not doing any harm if someone else is using them.
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/