aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2023-09-19 14:38:10 -0400
committerPatrick Palka <ppalka@redhat.com>2023-09-19 14:38:10 -0400
commitb9912332c5b6fc9433ee11f5488acad117868888 (patch)
treec3c35a9b8e1c534d84a292245f38938f09723205 /libcpp
parent58ab38213b979811d314f68e3f455c28a1d44140 (diff)
downloadgcc-b9912332c5b6fc9433ee11f5488acad117868888.zip
gcc-b9912332c5b6fc9433ee11f5488acad117868888.tar.gz
gcc-b9912332c5b6fc9433ee11f5488acad117868888.tar.bz2
c++: fix cxx_print_type's template-info dumping
Unlike DECL_TEMPLATE_INFO which is stored in DECL_LANG_SPECIFIC, TYPE_TEMPLATE_INFO isn't stored in TYPE_LANG_SPECIFIC, so we don't need to check for both in cxx_print_type. This fixes dumping the template-info of ENUMERAL_TYPE and BOUND_TEMPLATE_TEMPLATE_PARM, which seem to never have TYPE_LANG_SPECIFIC. gcc/cp/ChangeLog: * ptree.cc (cxx_print_type): Remove TYPE_LANG_SPECIFIC test guarding TYPE_TEMPLATE_INFO.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions