mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
0973b9cea7
This adds Clang-specific DWARF constants for nullability and ObjC class properties that are already generated by clang. This patch adds dwarfdump support and a more comprehensive testcase. <rdar://problem/27335745> llvm-svn: 275354
23 lines
627 B
Objective-C
23 lines
627 B
Objective-C
// Compile with clang -g dwarfdump-objc.m -c -Wno-objc-root-class
|
|
|
|
@interface NSObject {} @end
|
|
|
|
|
|
@interface TestInterface
|
|
@property (readonly) int ReadOnly;
|
|
@property (assign) int Assign;
|
|
@property (readwrite) int ReadWrite;
|
|
@property (retain) NSObject *Retain;
|
|
@property (copy) NSObject *Copy;
|
|
@property (nonatomic) int NonAtomic;
|
|
@property (atomic) int Atomic;
|
|
@property (strong) NSObject *Strong;
|
|
@property (unsafe_unretained) id UnsafeUnretained;
|
|
@property (nullable) NSObject *Nullability;
|
|
@property (null_resettable) NSObject *NullResettable;
|
|
@property (class) int ClassProperty;
|
|
@end
|
|
|
|
@implementation TestInterface
|
|
@end
|