Files
swift-mirror/test/SILOptimizer/Inputs/keypaths_objc.h
Graydon Hoare 3ef686bf92 [DeadFunctionElimination] Pass on keypaths to foreign DeclRef properties.
These show up specifically when someone forms a keypath to an ObjC
property in a category. They're no-ops from the perspective of
DFE but the code has to intentionally skip the case if it wants to
avoid the subsequent llvm_unreachable.

rdar://34913689
2017-10-25 23:21:56 -07:00

15 lines
187 B
Objective-C

@import Foundation;
@interface ObjCFoo
@property(readonly) NSString *_Nonnull objcProp;
@end
@interface ObjCFoo (Extras)
@property(readonly) NSString *_Nonnull objcExtraProp;
@end