Let -fmem-report see callers of cxx_make_type.
commit5b63c39b5504a875e03e176eb7416d279d7fb884
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jun 2018 18:19:29 +0000 (21 18:19 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jun 2018 18:19:29 +0000 (21 18:19 +0000)
tree9fd7714ad2ce10751035bb8a12fb34283a3f9b32
parente91478d3b923e38444fbace771301965c3ce2079
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.

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