mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Lazy loading checked if the ClangDecl was hidden, but loading all members did not. Let's make loadAllMembers() behave like the lazy path, and fix some of the mock SDKs in the test suite.
20 lines
340 B
Objective-C
20 lines
340 B
Objective-C
@import ObjectiveC;
|
|
|
|
@protocol ObjcProt
|
|
-(void) someFunctionFromProt;
|
|
|
|
-(void) someFunctionFromProt2;
|
|
|
|
@optional
|
|
-(void) someOptionalFunctionFromProt;
|
|
@end
|
|
|
|
@protocol AnotherObjcProt
|
|
-(void) anotherFunctionFromProt;
|
|
-(void) anotherFunctionFromProt2;
|
|
@end
|
|
|
|
@interface ClangInterface: NSObject <ObjcProt>
|
|
- (void)someFunction;
|
|
@end
|