Support copying local_specializations.
commitd90b17679aa007790b0f6606d5cd84f7b07a082f
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Aug 2017 19:40:21 +0000 (29 19:40 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Aug 2017 19:40:21 +0000 (29 19:40 +0000)
tree10c63963369aa559008571925b862882ac197a20
parent7e1f8be4cb75d006cce81956a42c2137b6f2b63b
Support copying local_specializations.

* cp-tree.h (enum lss_policy): New.
(local_specialization_stack): Add policy parameter to default ctor.
* pt.c (local_specialization_stack): Copy local_specializations if
lss_copy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251424 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c