c++: Refactor push_template_decl
authorNathan Sidwell <nathan@acm.org>
Wed, 28 Oct 2020 15:11:35 +0000 (08:11 -0700)
committerNathan Sidwell <nathan@acm.org>
Wed, 28 Oct 2020 15:13:17 +0000 (08:13 -0700)
commit7d5f38e49e59a09140473aa592133360428a1d83
tree3d30f0a31d269069979b2b9ca29a93d98ed936cd
parent176b8b9679dfec881b7cf379f808cca3950b1e74
c++: Refactor push_template_decl

Sadly I need to wander into push_template_decl again.  But here's a
piece of RAII goodness first.

gcc/cp/
* pt.c (push_template_decl): Refactor for some RAII.
gcc/cp/pt.c