+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>
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);
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);
&& 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;
}
}
/* 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)