Files
swift-mirror/test/SourceKit/InterfaceGen/Inputs/header.h
Nathan Hawes 79247b22e2 [SourceKit][InterfaceGen] Don't print clang decls marked with the swift_private attribute.
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
2020-05-27 15:23:50 -07:00

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