c++: Call tsubst_pack_expansion from tsubst.
authorJason Merrill <jason@redhat.com>
Fri, 6 Nov 2020 20:51:10 +0000 (15:51 -0500)
committerJason Merrill <jason@redhat.com>
Mon, 9 Nov 2020 20:16:39 +0000 (15:16 -0500)
commit83f1c165d2a2ebfba1164c730c0a65210fc4b285
tree30aa2b459267ba37cd3c584db8b9beee7da1c19e
parent05b03452db6a520091aed254d3c399caed714b15
c++: Call tsubst_pack_expansion from tsubst.

This was unnecessary (and incomplete) code duplication.

gcc/cp/ChangeLog:

* pt.c (tsubst): Replace *_ARGUMENT_PACK code with
a call to tsubst_argument_pack.
gcc/cp/pt.c