Let -fmem-report see callers of cxx_make_type.
authorJason Merrill <jason@redhat.com>
Thu, 21 Jun 2018 18:19:29 +0000 (14:19 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 21 Jun 2018 18:19:29 +0000 (14:19 -0400)
commit6ec04704dfb7425443de886e7f590286ce3b87a0
tree9fd7714ad2ce10751035bb8a12fb34283a3f9b32
parent8745500a49bfde05e5a82bd3f8a22a7fe46e2fc7
Let -fmem-report see callers of cxx_make_type.

* lex.c (cxx_make_type): Add MEM_STAT_DECL.
(make_class_type): Likewise.
(cxx_make_type_hook): New.
* cp-objcp-common.h (LANG_HOOKS_MAKE_TYPE): Use cxx_make_type_hook.

From-SVN: r261859
gcc/cp/ChangeLog
gcc/cp/cp-objcp-common.h
gcc/cp/cp-tree.h
gcc/cp/lex.c