mirror of git://gcc.gnu.org/git/gcc.git
Fix some typos.
2013-07-21 OndÅej BÃlka <neleai@seznam.cz> * objc-act.c: Fix typos. * objc-encoding.c: Likewise. * objc-gnu-runtime-abi-01.c: Likewise. * objc-next-runtime-abi-01.c: Likewise. * objc-next-runtime-abi-02.c: Likewise. From-SVN: r201096
This commit is contained in:
parent
5b70b3e44b
commit
587ae1e3bd
|
|
@ -9088,7 +9088,7 @@ cp_parser_statement (cp_parser* parser, tree in_statement_expr,
|
||||||
cp_lexer_save_tokens (parser->lexer);
|
cp_lexer_save_tokens (parser->lexer);
|
||||||
attrs_location = cp_lexer_peek_token (parser->lexer)->location;
|
attrs_location = cp_lexer_peek_token (parser->lexer)->location;
|
||||||
if (c_dialect_objc ())
|
if (c_dialect_objc ())
|
||||||
/* In obj-c++, seing '[[' might be the either the beginning of
|
/* In obj-c++, seeing '[[' might be the either the beginning of
|
||||||
c++11 attributes, or a nested objc-message-expression. So
|
c++11 attributes, or a nested objc-message-expression. So
|
||||||
let's parse the c++11 attributes tentatively. */
|
let's parse the c++11 attributes tentatively. */
|
||||||
cp_parser_parse_tentatively (parser);
|
cp_parser_parse_tentatively (parser);
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,11 @@
|
||||||
|
2013-07-21 OndÅej BÃlka <neleai@seznam.cz>
|
||||||
|
|
||||||
|
* objc-act.c: Fix typos.
|
||||||
|
* objc-encoding.c: Likewise.
|
||||||
|
* objc-gnu-runtime-abi-01.c: Likewise.
|
||||||
|
* objc-next-runtime-abi-01.c: Likewise.
|
||||||
|
* objc-next-runtime-abi-02.c: Likewise.
|
||||||
|
|
||||||
2013-05-22 Paolo Carlini <paolo.carlini@oracle.com>
|
2013-05-22 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
* objc-next-runtime-abi-02.c (build_v2_build_objc_method_call):
|
* objc-next-runtime-abi-02.c (build_v2_build_objc_method_call):
|
||||||
|
|
|
||||||
|
|
@ -1401,7 +1401,7 @@ objc_maybe_build_component_ref (tree object, tree property_ident)
|
||||||
object.component dot-syntax without a declared
|
object.component dot-syntax without a declared
|
||||||
property (this is valid for classes too). Look
|
property (this is valid for classes too). Look
|
||||||
for getter/setter methods and internally declare
|
for getter/setter methods and internally declare
|
||||||
an artifical property based on them if found. */
|
an artificial property based on them if found. */
|
||||||
x = maybe_make_artificial_property_decl (NULL_TREE,
|
x = maybe_make_artificial_property_decl (NULL_TREE,
|
||||||
NULL_TREE,
|
NULL_TREE,
|
||||||
rprotos,
|
rprotos,
|
||||||
|
|
|
||||||
|
|
@ -632,7 +632,7 @@ encode_type (tree type, int curtype, int format)
|
||||||
tree int_type = type;
|
tree int_type = type;
|
||||||
if (flag_next_runtime)
|
if (flag_next_runtime)
|
||||||
{
|
{
|
||||||
/* Another legacy kludge for compatiblity with
|
/* Another legacy kludge for compatibility with
|
||||||
gcc-3.3: 32-bit longs are encoded as 'l' or 'L',
|
gcc-3.3: 32-bit longs are encoded as 'l' or 'L',
|
||||||
but not always. For typedefs, we need to use 'i'
|
but not always. For typedefs, we need to use 'i'
|
||||||
or 'I' instead if encoding a struct field, or a
|
or 'I' instead if encoding a struct field, or a
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
For example, at present, any target that includes an implementation of
|
For example, at present, any target that includes an implementation of
|
||||||
the NeXT runtime needs to place Objective-C meta-data into specific
|
the NeXT runtime needs to place Objective-C meta-data into specific
|
||||||
named sections. This should _not_ be done for the GNU runtime, and the
|
named sections. This should _not_ be done for the GNU runtime, and the
|
||||||
folowing macro is used to attach Objective-C private attributes that may
|
following macro is used to attach Objective-C private attributes that may
|
||||||
be used to identify the runtime for which the meta-data are intended. */
|
be used to identify the runtime for which the meta-data are intended. */
|
||||||
|
|
||||||
#define OBJCMETA(DECL,VERS,KIND) \
|
#define OBJCMETA(DECL,VERS,KIND) \
|
||||||
|
|
@ -477,7 +477,7 @@ build_protocol_template (void)
|
||||||
objc_finish_struct (objc_protocol_template, decls);
|
objc_finish_struct (objc_protocol_template, decls);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- names, decls + identifers --- */
|
/* --- names, decls + identifiers --- */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
build_selector_table_decl (void)
|
build_selector_table_decl (void)
|
||||||
|
|
|
||||||
|
|
@ -583,7 +583,7 @@ build_v1_protocol_template (void)
|
||||||
objc_finish_struct (objc_protocol_template, decls);
|
objc_finish_struct (objc_protocol_template, decls);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- names, decls identifers --- */
|
/* --- names, decls identifiers --- */
|
||||||
|
|
||||||
static tree
|
static tree
|
||||||
next_runtime_abi_01_super_superclassfield_id (void)
|
next_runtime_abi_01_super_superclassfield_id (void)
|
||||||
|
|
|
||||||
|
|
@ -1404,7 +1404,7 @@ objc_v2_build_ivar_ref (tree datum, tree component)
|
||||||
|
|
||||||
/* IVAR refs are made via an externally referenceable offset and built
|
/* IVAR refs are made via an externally referenceable offset and built
|
||||||
on the fly. That is, unless they refer to (private) fields in the
|
on the fly. That is, unless they refer to (private) fields in the
|
||||||
class stucture. */
|
class structure. */
|
||||||
static tree
|
static tree
|
||||||
next_runtime_abi_02_build_ivar_ref (location_t loc ATTRIBUTE_UNUSED,
|
next_runtime_abi_02_build_ivar_ref (location_t loc ATTRIBUTE_UNUSED,
|
||||||
tree base, tree id)
|
tree base, tree id)
|
||||||
|
|
@ -2230,7 +2230,7 @@ generate_v2_protocol_list (tree i_or_p, tree klass_ctxt)
|
||||||
that the old ABI is supposed to build 'struct objc_method' which
|
that the old ABI is supposed to build 'struct objc_method' which
|
||||||
has 3 fields, but it does not build the initialization expression
|
has 3 fields, but it does not build the initialization expression
|
||||||
for 'method_imp' which for protocols is NULL any way. To be
|
for 'method_imp' which for protocols is NULL any way. To be
|
||||||
consistant with declaration of 'struct method_t', in the new ABI we
|
consistent with declaration of 'struct method_t', in the new ABI we
|
||||||
set the method_t.imp to NULL. */
|
set the method_t.imp to NULL. */
|
||||||
|
|
||||||
static tree
|
static tree
|
||||||
|
|
|
||||||
|
|
@ -529,7 +529,7 @@ objc_get_type_qualifiers (const char *type)
|
||||||
These functions are used by objc_sizeof_type and objc_alignof_type
|
These functions are used by objc_sizeof_type and objc_alignof_type
|
||||||
functions to compute the size and alignment of structures. The
|
functions to compute the size and alignment of structures. The
|
||||||
previous method of computing the size and alignment of a structure
|
previous method of computing the size and alignment of a structure
|
||||||
was not working on some architectures, particulary on AIX, and in
|
was not working on some architectures, particularly on AIX, and in
|
||||||
the presence of bitfields inside the structure. */
|
the presence of bitfields inside the structure. */
|
||||||
void
|
void
|
||||||
objc_layout_structure (const char *type,
|
objc_layout_structure (const char *type,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue