diff options
| author | Jason Merrill <jason@redhat.com> | 2010-11-01 23:29:52 -0400 |
|---|---|---|
| committer | Jason Merrill <jason@redhat.com> | 2010-11-01 23:32:03 -0400 |
| commit | d29b209e37cb85fdf1cb1d8e0ae263cc3c59312b (patch) | |
| tree | 0e6b797a6c1a23c50603805706926a5eaa2184f1 /gcc/objc/ChangeLog | |
| parent | 2450a78a38a727e7ec673b132315c8379db3b27d (diff) | |
| parent | c0000147b2aef6b69e2c6b6d29a9963910f6da98 (diff) | |
| download | gcc-constexpr.tar.gz | |
Merge remote branch 'trunk' into constexprconstexpr
Diffstat (limited to 'gcc/objc/ChangeLog')
| -rw-r--r-- | gcc/objc/ChangeLog | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 04841334ff9..e9e559214a2 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,45 @@ +2010-11-01 Nicola Pero <nicola.pero@meta-innovation.com> + + Implemented format and noreturn attributes for Objective-C methods. + * objc-act.c (objc_start_method_definition): If method attributes + are specified emit a warning and ignore them. + (build_objc_method_call): Moved deprecation warnings from here ... + (objc_finish_message_expr): to here. Do not emit deprecation + warnings if the receiver is of type 'id'. + (really_start_method): Install 'deprecation' and 'noreturn' + attributes. + (objc_decl_method_attributes): Carefully filter out the list of + attributes, allowing only "noreturn", "format", "sentinel" and + "deprecated". In the case of "format", adjust the arguments. + Always process the attributes in the same way no matter if + "sentinel" is in the list or not. + +2010-11-01 Nicola Pero <nicola.pero@meta-innovation.com> + + * objc-act.c (objc_maybe_build_component_ref): Warn about using + deprecated properties. + (objc_maybe_printable_name): Support PROPERTY_DECL. + +2010-11-01 Nicola Pero <nicola.pero@meta-innovation.com> + + Implemented Objective-C 2.0 property accessors. + * objc-act.h (enum objc_tree_index): Added OCTI_GET_PROPERTY_DECL, + OCTI_SET_PROPERTY_DECL, OCTI_COPY_STRUCT_DECL, + OCTI_GET_PROPERTY_STRUCT_DECL and OCTI_SET_PROPERTY_STRUCT_DECL. + (objc_getProperty_decl): New. + (objc_setProperty_decl): New. + (objc_copyStruct_decl): New. + (objc_getPropertyStruct_decl): New. + (objc_setPropertyStruct_decl): New. + * objc-act.c (build_objc_property_accessor_helpers): New. + (synth_module_prologue): Call + build_objc_property_accessor_helpers. + (lookup_ivar): New. + (objc_synthesize_getter): Implemented synthesizing getters that + work with properties that are not nonatomic, assign properties. + (objc_synthesize_setter): Implemented synthesizing setters that + work with properties that are not nonatomic, assign properties. + 2010-10-30 Nicola Pero <nicola.pero@meta-innovation.com> Implemented Objective-C 2.0 @property, @synthesize and @dynamic. |
