* pt.c, tree.c, typeck2.c: Fix comment typos.
From-SVN: r127031
This commit is contained in:
parent
cea618ac1f
commit
d732e98fbf
4 changed files with 9 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
|||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue