diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2011-05-10 17:23:31 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2011-05-10 17:23:31 +0000 |
commit | d26e59864b3ea46ad8d4671a3c55f86cf5f2fa94 (patch) | |
tree | 7c389e370937901a10bb25ff1bb73eb2135042bd /gcc/cp/cp-tree.def | |
parent | dbcc9f08d5631a29708cf859689a46a1895111fa (diff) | |
download | gcc-d26e59864b3ea46ad8d4671a3c55f86cf5f2fa94.zip gcc-d26e59864b3ea46ad8d4671a3c55f86cf5f2fa94.tar.gz gcc-d26e59864b3ea46ad8d4671a3c55f86cf5f2fa94.tar.bz2 |
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
Diffstat (limited to 'gcc/cp/cp-tree.def')
-rw-r--r-- | gcc/cp/cp-tree.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/cp-tree.def b/gcc/cp/cp-tree.def index 7bd35e0..001ef10 100644 --- a/gcc/cp/cp-tree.def +++ b/gcc/cp/cp-tree.def @@ -413,7 +413,7 @@ DEFTREECODE (TYPE_PACK_EXPANSION, "type_pack_expansion", tcc_type, 0) EXPR_PACK_EXPANSION plays precisely the same role as TYPE_PACK_EXPANSION, but will be used for expressions. */ -DEFTREECODE (EXPR_PACK_EXPANSION, "expr_pack_expansion", tcc_expression, 1) +DEFTREECODE (EXPR_PACK_EXPANSION, "expr_pack_expansion", tcc_expression, 2) /* Selects the Ith parameter out of an argument pack. This node will be used when instantiating pack expansions; see |