mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This commit compares the attributes on the decl inside the `@abi` attribute to those in the decl it’s attached to, diagnosing ABI-incompatible differences. It also rejects many attributes that don’t need to be specified in the `@abi` attribute, such as ObjC-ness, access control, or ABI-neutral traits like `@discardableResult`, so developers know to remove them.
4 lines
84 B
C
4 lines
84 B
C
void implementation1(void);
|
|
void implementation2(void);
|
|
void implementation3(void);
|