diff options
Diffstat (limited to 'test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m')
-rw-r--r-- | test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m b/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m index f1ecd548eb3e..4777aed99d91 100644 --- a/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m +++ b/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m @@ -32,8 +32,8 @@ typedef signed char BOOL; @property (assign, nonatomic) MyClass* Y; // automatically synthesized, implemented - @property (assign, nonatomic) MyClass* Z; // non synthesized ivar, implemented setter - @property (readonly) id nonSynth; // non synthesized, explicitly implemented to return ivar with expected name + @property (assign, nonatomic) MyClass* Z; // non-synthesized ivar, implemented setter + @property (readonly) id nonSynth; // non-synthesized, explicitly implemented to return ivar with expected name @property (assign) MyClass* NotA; // warnings should be suppressed, backing ivar is annotated @property (assign) MyClass* NotX __attribute__((annotate("objc_allow_direct_instance_variable_assignment"))); // warnings should be suppressed |