aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-07-28 23:59:29 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-07-28 23:59:29 +0000
commitd732e98fbf37e3e2dd1b2505ca9bc8a6e1011ff2 (patch)
tree716f0ff7af8375f5a62ba5fe7a20360dc1ab02fe /gcc/cp/pt.c
parentcea618ac1fbb93b3b74f1861fe741d6df1bdac42 (diff)
downloadgcc-d732e98fbf37e3e2dd1b2505ca9bc8a6e1011ff2.zip
gcc-d732e98fbf37e3e2dd1b2505ca9bc8a6e1011ff2.tar.gz
gcc-d732e98fbf37e3e2dd1b2505ca9bc8a6e1011ff2.tar.bz2
* pt.c, tree.c, typeck2.c: Fix comment typos.
From-SVN: r127031
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r--gcc/cp/pt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index d05bfd2..13a2deb 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -2213,7 +2213,7 @@ check_explicit_specialization (tree declarator,
tree tmpl_func = DECL_TEMPLATE_RESULT (gen_tmpl);
gcc_assert (TREE_CODE (tmpl_func) == FUNCTION_DECL);
- /* This specialization has the same linkage and visiblity as
+ /* This specialization has the same linkage and visibility as
the function template it specializes. */
TREE_PUBLIC (decl) = TREE_PUBLIC (tmpl_func);
DECL_THIS_STATIC (decl) = DECL_THIS_STATIC (tmpl_func);
@@ -4637,7 +4637,7 @@ convert_template_argument (tree parm,
requires_type = (TREE_CODE (parm) == TYPE_DECL
|| requires_tmpl_type);
- /* When determining whether a argument pack expansion is a template,
+ /* When determining whether an argument pack expansion is a template,
look at the pattern. */
if (TREE_CODE (check_arg) == TYPE_PACK_EXPANSION)
check_arg = PACK_EXPANSION_PATTERN (check_arg);