aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-04-03 14:24:28 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-04-03 14:24:28 +0000
commitc51940a280612a5243cd8fb6c0e3adb4d49de15c (patch)
treeade2af1794af0a7e79e6530b0da27607363885e0 /gcc
parent315682fb369234900afb7c232e23f116fe35d1dc (diff)
downloadgcc-c51940a280612a5243cd8fb6c0e3adb4d49de15c.zip
gcc-c51940a280612a5243cd8fb6c0e3adb4d49de15c.tar.gz
gcc-c51940a280612a5243cd8fb6c0e3adb4d49de15c.tar.bz2
* pt.c: Fix comment typos.
From-SVN: r97491
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/pt.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 90a6892..c2176a7 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-03 Kazu Hirata <kazu@cs.umass.edu>
+
+ * pt.c: Fix comment typos.
+
2005-04-03 Nathan Sidwell <nathan@codesourcery.com>
PR c++/20723
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index e8b2190..b609ecf 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -10378,7 +10378,7 @@ mark_decl_instantiated (tree result, int extern_p)
The 1998 std underspecified function template partial ordering, and
DR214 addresses the issue. We take pairs of arguments, one from
- each of the templates, and deduce them against eachother. One of
+ each of the templates, and deduce them against each other. One of
the templates will be more specialized if all the *other*
template's arguments deduce against its arguments and at least one
of its arguments *does* *not* deduce against the other template's
@@ -12399,7 +12399,7 @@ dependent_template_id_p (tree tmpl, tree args)
can be found. Note that this function peers inside uninstantiated
templates and therefore should be used only in extremely limited
situations. ONLY_CURRENT_P restricts this peering to the currently
- open classes heirarchy (which is required when comparing types). */
+ open classes hierarchy (which is required when comparing types). */
tree
resolve_typename_type (tree type, bool only_current_p)