Commit d732e98f by Kazu Hirata Committed by Kazu Hirata

* pt.c, tree.c, typeck2.c: Fix comment typos.

From-SVN: r127031
parent cea618ac
2007-07-28 Kazu Hirata <kazu@codesourcery.com>
* pt.c, tree.c, typeck2.c: Fix comment typos.
2007-07-28 Simon Martin <simartin@users.sourceforge.net>
Mark Mitchell <mark@codesourcery.com>
......
......@@ -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);
......
......@@ -83,7 +83,7 @@ lvalue_p_1 (tree ref,
&& TREE_CODE (ref) != COMPONENT_REF)
return clk_none;
/* lvalue references and named rvalue refences are lvalues */
/* lvalue references and named rvalue references are lvalues. */
return clk_ordinary;
}
......
......@@ -764,8 +764,8 @@ picflag_from_initializer (tree init)
}
/* Subroutine of process_init_constructor, which will process an initializer
INIT for a array or vector of type TYPE. Returns the flags (PICFLAG_*) which
describe the initializers. */
INIT for an array or vector of type TYPE. Returns the flags (PICFLAG_*)
which describe the initializers. */
static int
process_init_constructor_array (tree type, tree init)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment