mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-23 14:21:20 +08:00
* cp-tree.def, parser.c, pt.c: Fix comment typos.
From-SVN: r123024
This commit is contained in:
parent
c492dc9a66
commit
a757b5c594
@ -1,3 +1,7 @@
|
||||
2007-03-17 Kazu Hirata <kazu@codesourcery.com>
|
||||
|
||||
* cp-tree.def, parser.c, pt.c: Fix comment typos.
|
||||
|
||||
2007-03-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
|
||||
|
||||
* cvt.c (cp_convert_and_check) : Define.
|
||||
|
@ -367,7 +367,7 @@ DEFTREECODE (STATIC_ASSERT, "static_assert", tcc_exceptional, 0)
|
||||
|
||||
Values is a (template) parameter pack. When tuple<int, float,
|
||||
double> is instantiated, the Values parameter pack is instantiated
|
||||
with the argment pack <int, float, double>. ARGUMENT_PACK_ARGS will
|
||||
with the argument pack <int, float, double>. ARGUMENT_PACK_ARGS will
|
||||
be a TREE_VEC containing int, float, and double. */
|
||||
DEFTREECODE (TYPE_ARGUMENT_PACK, "type_argument_pack", tcc_type, 0)
|
||||
|
||||
|
@ -4343,8 +4343,8 @@ cp_parser_postfix_expression (cp_parser *parser, bool address_p, bool cast_p)
|
||||
allowed in standard C++. */
|
||||
if (pedantic)
|
||||
pedwarn ("ISO C++ forbids compound-literals");
|
||||
/* For simplicitly, we disallow compound literals in
|
||||
constant-expressions for simpliicitly. We could
|
||||
/* For simplicity, we disallow compound literals in
|
||||
constant-expressions. We could
|
||||
allow compound literals of integer type, whose
|
||||
initializer was a constant, in constant
|
||||
expressions. Permitting that usage, as a further
|
||||
|
@ -7677,7 +7677,7 @@ tsubst_decl (tree t, tree args, tsubst_flags_t complain)
|
||||
/* If there is a local specialization that isn't a
|
||||
parameter pack, it means that we're doing a "simple"
|
||||
substitution from inside tsubst_pack_expansion. Just
|
||||
return the local specialiation (which will be a single
|
||||
return the local specialization (which will be a single
|
||||
parm). */
|
||||
tree spec = NULL_TREE;
|
||||
if (local_specializations)
|
||||
|
Loading…
x
Reference in New Issue
Block a user