aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2013-07-21 15:33:00 +0000
committerMike Stump <mrs@gcc.gnu.org>2013-07-21 15:33:00 +0000
commit587ae1e3bd7ead48424cdcb9b16d842fa828c6fd (patch)
tree48bb764e6ec6d486005ead4ad2fc25feab85caed /gcc/objc
parent5b70b3e44baf317b001b78919429a7e63af50742 (diff)
downloadgcc-587ae1e3bd7ead48424cdcb9b16d842fa828c6fd.zip
gcc-587ae1e3bd7ead48424cdcb9b16d842fa828c6fd.tar.gz
gcc-587ae1e3bd7ead48424cdcb9b16d842fa828c6fd.tar.bz2
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
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/ChangeLog8
-rw-r--r--gcc/objc/objc-act.c2
-rw-r--r--gcc/objc/objc-encoding.c2
-rw-r--r--gcc/objc/objc-gnu-runtime-abi-01.c4
-rw-r--r--gcc/objc/objc-next-runtime-abi-01.c2
-rw-r--r--gcc/objc/objc-next-runtime-abi-02.c4
6 files changed, 15 insertions, 7 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 2cdad9c..30b6d17 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 23fd686..95ec4ec 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 39431dc..c2f7444 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 0f725c3..f011683 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 a9845cf..27ba615 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 70cb62e..4bb02c7 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