mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Instead of importing everything and filtering later (so all of clang modules get deserialized and associated Swift decls get created), lazily import as Swift decls only the Clang decls that we need from a particular header. This also fixes printing ObjC categories in the header as Swift extensions. Swift SVN r28358
16 lines
217 B
Objective-C
16 lines
217 B
Objective-C
void doSomethingInHead(int arg);
|
|
|
|
@interface BaseInHead
|
|
- (void)doIt:(int)arg;
|
|
@end
|
|
|
|
/// Awesome name.
|
|
@interface SameName
|
|
@end
|
|
@protocol SameName
|
|
@end
|
|
|
|
@interface BaseInHead(SomeCategory)
|
|
-(void)doItInCategory;
|
|
@end
|