aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDouglas Gregor <doug.gregor@gmail.com>2007-01-02 14:26:29 +0000
committerDoug Gregor <dgregor@gcc.gnu.org>2007-01-02 14:26:29 +0000
commit410cf6e6924ac4ec43dcbb214e1dc293476760ac (patch)
tree901761c81b418a2653c9f12e18f81ff9b62df412 /gcc
parentff604888532c10d72b45494670151be4fadfbd39 (diff)
downloadgcc-410cf6e6924ac4ec43dcbb214e1dc293476760ac.zip
gcc-410cf6e6924ac4ec43dcbb214e1dc293476760ac.tar.gz
gcc-410cf6e6924ac4ec43dcbb214e1dc293476760ac.tar.bz2
pt.c (canonical_template_parms): Correct typo in comment.
2007-01-02 Douglas Gregor <doug.gregor@gmail.com> * pt.c (canonical_template_parms): Correct typo in comment. From-SVN: r120343
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/pt.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index dc291d0..16da3ee 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,9 @@
2007-01-02 Douglas Gregor <doug.gregor@gmail.com>
+ * pt.c (canonical_template_parms): Correct typo in comment.
+
+2007-01-02 Douglas Gregor <doug.gregor@gmail.com>
+
* typeck.c (structural_comptypes): Renamed from "comptypes".
(comptypes): Use canonical type information to perform fast type
comparison. When VERIFY_CANONICAL_TYPES, verify that the
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 1e90751..04c24eb5 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -80,7 +80,7 @@ static tree cur_stmt_expr;
local variables. */
static htab_t local_specializations;
-/* Contains canonical template parameter types. The vector is index by
+/* Contains canonical template parameter types. The vector is indexed by
the TEMPLATE_TYPE_IDX of the template parameter. Each element is a
TREE_LIST, whose TREE_VALUEs contain the canonical template
parameters of various types and levels. */