mark EXPR_PACK_EXPANSION as typed only
authorNathan Froyd <froydnj@codesourcery.com>
Tue, 10 May 2011 17:23:31 +0000 (17:23 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Tue, 10 May 2011 17:23:31 +0000 (17:23 +0000)
commitd26e59864b3ea46ad8d4671a3c55f86cf5f2fa94
tree7c389e370937901a10bb25ff1bb73eb2135042bd
parentdbcc9f08d5631a29708cf859689a46a1895111fa
mark EXPR_PACK_EXPANSION as typed only

mark EXPR_PACK_EXPANSION as typed only
        * cp-tree.def (EXPR_PACK_EXPANSION): Add an operand.
        * cp-objcp-common.c (cp_common_init_ts): Mark it as TS_TYPED.
        * cp-tree.h (PACK_EXPANSION_PARAMETER_PACKS): Use the new
        operand of EXPR_PACK_EXPANSION.
(cp_tree_operand_length): Declare.
        * tree.c (cp_tree_operand_length): Define.
(cp_tree_equal): Call it.
        * pt.c (value_dependent_expr_P): Likewise.
        * mangle.c (write_expression): Likewise.

From-SVN: r173625
gcc/cp/ChangeLog
gcc/cp/cp-objcp-common.c
gcc/cp/cp-tree.def
gcc/cp/cp-tree.h
gcc/cp/mangle.c
gcc/cp/pt.c
gcc/cp/tree.c