Support copying local_specializations.
authorJason Merrill <jason@redhat.com>
Tue, 29 Aug 2017 19:40:21 +0000 (15:40 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 29 Aug 2017 19:40:21 +0000 (15:40 -0400)
commit82b0ce2eb32bea3d6e35609d1806ba332576826d
tree10c63963369aa559008571925b862882ac197a20
parenta0ab7ccd216184853052cec1bce7900cbdeed0b4
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.

From-SVN: r251424
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c