mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This attribute is intended to mean there's a replacement declaration that should be used instead in Swift code. We already filter out decls with this attribute in code completion, but were still exposing them in generated interfaces. Resolves rdar://problem/62464954
18 lines
319 B
Objective-C
18 lines
319 B
Objective-C
void doSomethingInHead(int arg);
|
|
#define NS_REFINED_FOR_SWIFT __attribute__((swift_private))
|
|
@interface BaseInHead
|
|
- (void)doIt:(int)arg;
|
|
- (void)otherThing:(int)arg NS_REFINED_FOR_SWIFT;
|
|
@end
|
|
|
|
/// Awesome name.
|
|
/// ÑÑÑÑÑÑÑÑÑÑÑÑÑÑ
|
|
/// Awesome name.
|
|
@interface SameName
|
|
@end
|
|
|
|
// random comment.
|
|
|
|
@protocol SameName
|
|
@end
|