From 410cf6e6924ac4ec43dcbb214e1dc293476760ac Mon Sep 17 00:00:00 2001 From: Douglas Gregor <doug.gregor@gmail.com> Date: Tue, 2 Jan 2007 14:26:29 +0000 Subject: [PATCH] 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 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/pt.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index dc291d054a1..16da3ee0aa1 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +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". diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 1e90751287c..04c24eb561f 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. */