]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix some typos.
authorOndřej Bílka <neleai@seznam.cz>
Sun, 21 Jul 2013 15:33:00 +0000 (15:33 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Sun, 21 Jul 2013 15:33:00 +0000 (15:33 +0000)
2013-07-21   OndÅ\99ej 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

gcc/cp/parser.c
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/objc/objc-encoding.c
gcc/objc/objc-gnu-runtime-abi-01.c
gcc/objc/objc-next-runtime-abi-01.c
gcc/objc/objc-next-runtime-abi-02.c
gcc/testsuite/objc-obj-c++-shared/objc-test-suite-next-encode-assist-impl.h

index 4b683bfbace3456f208380996d64591d6d12e939..3a526c20a3390ddc0bbc68aa080c0339d714b2d1 100644 (file)
@@ -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);
index 2cdad9c1bcceb8ff70c18d1868d2dd1587b1e0bc..30b6d17d82b1d6e2089e96e58838187d6352484d 100644 (file)
@@ -1,3 +1,11 @@
+2013-07-21   OndÅ\99ej 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):
index 23fd6861db264ce700e796b1ca0c173cf8ab9e56..95ec4ecd40fc648cd721064c782e9e37e9838e54 100644 (file)
@@ -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,
index 39431dc9f3c38e18fe84a91439ffaee9fd09e31a..c2f7444c448a0cd1e6546550ee3e327ec01ac222 100644 (file)
@@ -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
index 0f725c34344368e7675d2131ad79e78bbaf0b5f6..f0116831e25bbab4bc59b40aa8124ec8cb28ae20 100644 (file)
@@ -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)
index a9845cfc0b8310fb44a408c801d0e1b39f047fb4..27ba615ca0ed3f5a40e148d4971f756ee5c943b8 100644 (file)
@@ -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)
index 70cb62ea3c7c4867d9ebf2d5e5f2b4c5fab21dad..4bb02c76737e982cdfc596e64b13fa2d9640989c 100644 (file)
@@ -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
index 5508eddd757aa7ec14876880d724f1b09be24475..24e5ebab75389c72f5f31b5ad92d49bf5c03c5c4 100644 (file)
@@ -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,