summaryrefslogtreecommitdiffstats
path: root/gcc/cp/typeck.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-05 03:02:05 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-05 03:02:05 +0000
commit755edffdacb0e09129b815d8e4dbb060d7fb6552 (patch)
tree8b49720ac0b6412e56b800efc44c446f9ffb3646 /gcc/cp/typeck.c
parent629f7e57c32f3b6aa9d92c1b5ef2f923ef749b48 (diff)
downloadppe42-gcc-755edffdacb0e09129b815d8e4dbb060d7fb6552.tar.gz
ppe42-gcc-755edffdacb0e09129b815d8e4dbb060d7fb6552.zip
* call.c: Fix comment typos.
* class.c: Likewise. * cp-tree.h: Likewise. * cvt.c: Likewise. * decl2.c: Likewise. * decl.c: Likewise. * init.c: Likewise. * mangle.c: Likewise. * parser.c: Likewise. * pt.c: Likewise. * search.c: Likewise. * semantics.c: Likewise. * tree.c: Likewise. * typeck.c: Likewise git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68956 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/typeck.c')
-rw-r--r--gcc/cp/typeck.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c
index 96b74fa43ac..cd3bc10ea85 100644
--- a/gcc/cp/typeck.c
+++ b/gcc/cp/typeck.c
@@ -729,9 +729,9 @@ common_type (t1, t2)
derived and !exact).
[except.spec] "If a class X ... objects of class X or any class publicly
- and unambigously derrived from X. Similarly, if a pointer type Y * ...
+ and unambiguously derived from X. Similarly, if a pointer type Y * ...
exceptions of type Y * or that are pointers to any type publicly and
- unambigously derrived from Y. Otherwise a function only allows exceptions
+ unambiguously derived from Y. Otherwise a function only allows exceptions
that have the same type ..."
This does not mention cv qualifiers and is different to what throw
[except.throw] and catch [except.catch] will do. They will ignore the
@@ -3001,7 +3001,7 @@ build_template_expr (enum tree_code code, tree op0, tree op1, tree op2)
type = boolean_type_node;
break;
case COND_EXPR:
- /* FIXME: Handle special rules for conditioanl
+ /* FIXME: Handle special rules for conditional
expressions. */
break;
case COMPOUND_EXPR:
@@ -6181,7 +6181,7 @@ c_expand_asm_operands (tree string, tree outputs, tree inputs, tree clobbers,
}
/* If RETVAL is the address of, or a reference to, a local variable or
- temporary give an appropraite warning. */
+ temporary give an appropriate warning. */
static void
maybe_warn_about_returning_address_of_local (tree retval)
OpenPOWER on IntegriCloud