Tiny C++ cleanups.
authorJason Merrill <jason@redhat.com>
Tue, 19 Apr 2016 17:49:34 +0000 (13:49 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 19 Apr 2016 17:49:34 +0000 (13:49 -0400)
commitb1e47084d33b547a9bd9a76a0b9e28610908c1d9
treeab9a7156a485e7735e64d5c75a1b93ebad68b666
parent831698b8f7e479506b2f7156ce54fe95b7126c1c
Tiny C++ cleanups.

* pt.c (tsubst_expr): Remove shadowing declaration.
(tsubst_pack_expansion): Add assert.
* semantics.c (add_decl_expr): Use DECL_SOURCE_LOCATION.

From-SVN: r235213
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/semantics.c