In libobjc/: 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
authorNicola Pero <nicola.pero@meta-innovation.com>
Tue, 12 Oct 2010 22:57:57 +0000 (22:57 +0000)
committerNicola Pero <nicola@gcc.gnu.org>
Tue, 12 Oct 2010 22:57:57 +0000 (22:57 +0000)
commitc994cc85bd7242a8b59b359bad02af74d166bf85
tree3e208be438976b1fb9fae659a436788a990e70cb
parent98d30e4fb5d73b248be75946e90ec2e73b397268
In libobjc/: 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>

In libobjc/:
2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>

        * encoding.c: Tidied up comments.
        (objc_skip_variable_name): New static inline function.
        (objc_sizeof_type): Use objc_skip_variable_name instead of copying
        the same code over and over.
        (objc_alignof_type): Same.
        (objc_aligned_size): Same.
        (objc_promoted_size): Same.
        (objc_skip_typespec): Same.
        (objc_layout_structure_next_member): Same.
        (objc_skip_offset): Skip a '-' before the digits (if any).  Fixed
        historical bug where objc_skip_offset would skip one byte even if
        there is no offset: check that the first offset digit is actually
        a digit before skipping it.
        (objc_skip_type_qualifiers): Mark as inline.
        (objc_skip_typespec): Mark as inline.

From-SVN: r165403
libobjc/ChangeLog
libobjc/encoding.c