aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/semantics.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2001-04-24 08:13:38 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2001-04-24 08:13:38 +0000
commitdfbb4f347cf43b955f56ecbc9709b8836d395ee5 (patch)
tree8f46ab0d0836aa9fe30d168822d264e27457a5a3 /gcc/cp/semantics.c
parentc6f9b9a14126a36d97ae9cbb59064eab067d2edc (diff)
downloadgcc-dfbb4f347cf43b955f56ecbc9709b8836d395ee5.zip
gcc-dfbb4f347cf43b955f56ecbc9709b8836d395ee5.tar.gz
gcc-dfbb4f347cf43b955f56ecbc9709b8836d395ee5.tar.bz2
pt.c (tsubst_decl): Use VOID_TYPE_P.
cp: * pt.c (tsubst_decl): Use VOID_TYPE_P. * semantics.c: Fix some typos. From-SVN: r41519
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r--gcc/cp/semantics.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index 2141e5c..8dae039 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -284,7 +284,7 @@ finish_else_clause (if_stmt)
RECHAIN_STMTS (if_stmt, ELSE_CLAUSE (if_stmt));
}
-/* Finsh an if-statement. */
+/* Finish an if-statement. */
void
finish_if_stmt ()
@@ -403,7 +403,7 @@ finish_return_stmt (expr)
{
/* Similarly, all destructors must run destructors for
base-classes before returning. So, all returns in a
- destructor get sent to the DTOR_LABEL; finsh_function emits
+ destructor get sent to the DTOR_LABEL; finish_function emits
code to return a value there. */
return finish_goto_stmt (dtor_label);
}