c++: use auto_timevar instead of timevar_push/pop
authorPatrick Palka <ppalka@redhat.com>
Tue, 31 May 2022 20:48:59 +0000 (16:48 -0400)
committerPatrick Palka <ppalka@redhat.com>
Tue, 31 May 2022 20:48:59 +0000 (16:48 -0400)
commit3f7daf7ec77d351630e2aad508fc2366e7e7eb77
tree3c11c3ff30325cb3ccb880c026849a046d477158
parent6013fc2567c1d38ac4e1f57b3cd2483b7513aa59
c++: use auto_timevar instead of timevar_push/pop

r12-5487-g9bf69a8558638c replaced uses of timevar_cond_push/pop with
auto_cond_timevar and removed now unnecessary wrapper functions.  This
patch does the same with timevar_push/pop and auto_timevar.

gcc/cp/ChangeLog:

* parser.cc: Use auto_timevar instead of timevar_push/pop.
Remove wrapper functions.
* pt.cc: Likewise.
gcc/cp/parser.cc
gcc/cp/pt.cc