diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-07-21 15:33:00 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-07-21 15:33:00 +0000 |
commit | 86d30f0312aeccd275cdb3cf3dd7c26078418824 (patch) | |
tree | 48bb764e6ec6d486005ead4ad2fc25feab85caed | |
parent | cb39b5e7fa95d52ba53a93f0a5dea041ea81a8d9 (diff) | |
download | gcc-86d30f0312aeccd275cdb3cf3dd7c26078418824.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201096 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/cp/parser.c | 2 | ||||
-rw-r--r-- | gcc/objc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 2 | ||||
-rw-r--r-- | gcc/objc/objc-encoding.c | 2 | ||||
-rw-r--r-- | gcc/objc/objc-gnu-runtime-abi-01.c | 4 | ||||
-rw-r--r-- | gcc/objc/objc-next-runtime-abi-01.c | 2 | ||||
-rw-r--r-- | gcc/objc/objc-next-runtime-abi-02.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/objc-obj-c++-shared/objc-test-suite-next-encode-assist-impl.h | 2 |
8 files changed, 17 insertions, 9 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 4b683bfbace..3a526c20a33 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -9088,7 +9088,7 @@ cp_parser_statement (cp_parser* parser, tree in_statement_expr, cp_lexer_save_tokens (parser->lexer); attrs_location = cp_lexer_peek_token (parser->lexer)->location; 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 let's parse the c++11 attributes tentatively. */ cp_parser_parse_tentatively (parser); diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 2cdad9c1bcc..30b6d17d82b 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -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> * objc-next-runtime-abi-02.c (build_v2_build_objc_method_call): diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 23fd6861db2..95ec4ecd40f 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -1401,7 +1401,7 @@ objc_maybe_build_component_ref (tree object, tree property_ident) object.component dot-syntax without a declared property (this is valid for classes too). Look 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, NULL_TREE, rprotos, diff --git a/gcc/objc/objc-encoding.c b/gcc/objc/objc-encoding.c index 39431dc9f3c..c2f7444c448 100644 --- a/gcc/objc/objc-encoding.c +++ b/gcc/objc/objc-encoding.c @@ -632,7 +632,7 @@ encode_type (tree type, int curtype, int format) tree int_type = type; 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', but not always. For typedefs, we need to use 'i' or 'I' instead if encoding a struct field, or a diff --git a/gcc/objc/objc-gnu-runtime-abi-01.c b/gcc/objc/objc-gnu-runtime-abi-01.c index 0f725c34344..f0116831e25 100644 --- a/gcc/objc/objc-gnu-runtime-abi-01.c +++ b/gcc/objc/objc-gnu-runtime-abi-01.c @@ -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 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 - 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. */ #define OBJCMETA(DECL,VERS,KIND) \ @@ -477,7 +477,7 @@ build_protocol_template (void) objc_finish_struct (objc_protocol_template, decls); } -/* --- names, decls + identifers --- */ +/* --- names, decls + identifiers --- */ static void build_selector_table_decl (void) diff --git a/gcc/objc/objc-next-runtime-abi-01.c b/gcc/objc/objc-next-runtime-abi-01.c index a9845cfc0b8..27ba615ca0e 100644 --- a/gcc/objc/objc-next-runtime-abi-01.c +++ b/gcc/objc/objc-next-runtime-abi-01.c @@ -583,7 +583,7 @@ build_v1_protocol_template (void) objc_finish_struct (objc_protocol_template, decls); } -/* --- names, decls identifers --- */ +/* --- names, decls identifiers --- */ static tree next_runtime_abi_01_super_superclassfield_id (void) diff --git a/gcc/objc/objc-next-runtime-abi-02.c b/gcc/objc/objc-next-runtime-abi-02.c index 70cb62ea3c7..4bb02c76737 100644 --- a/gcc/objc/objc-next-runtime-abi-02.c +++ b/gcc/objc/objc-next-runtime-abi-02.c @@ -1404,7 +1404,7 @@ objc_v2_build_ivar_ref (tree datum, tree component) /* IVAR refs are made via an externally referenceable offset and built on the fly. That is, unless they refer to (private) fields in the - class stucture. */ + class structure. */ static tree next_runtime_abi_02_build_ivar_ref (location_t loc ATTRIBUTE_UNUSED, 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 has 3 fields, but it does not build the initialization expression 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. */ static tree diff --git a/gcc/testsuite/objc-obj-c++-shared/objc-test-suite-next-encode-assist-impl.h b/gcc/testsuite/objc-obj-c++-shared/objc-test-suite-next-encode-assist-impl.h index 5508eddd757..24e5ebab753 100644 --- a/gcc/testsuite/objc-obj-c++-shared/objc-test-suite-next-encode-assist-impl.h +++ b/gcc/testsuite/objc-obj-c++-shared/objc-test-suite-next-encode-assist-impl.h @@ -529,7 +529,7 @@ objc_get_type_qualifiers (const char *type) These functions are used by objc_sizeof_type and objc_alignof_type functions to compute the size and alignment of structures. The 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. */ void objc_layout_structure (const char *type, |