aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2023-08-11 12:50:52 -0400
committerPatrick Palka <ppalka@redhat.com>2023-08-11 12:50:52 -0400
commit1531de6375afddcd27ea33a23248fa87bfed147b (patch)
treeeace17708dbaa8c33881205681a739a8ba408449 /libstdc++-v3
parenta4238f6db879abc048282d2d26442e68dc9427ea (diff)
downloadgcc-1531de6375afddcd27ea33a23248fa87bfed147b.zip
gcc-1531de6375afddcd27ea33a23248fa87bfed147b.tar.gz
gcc-1531de6375afddcd27ea33a23248fa87bfed147b.tar.bz2
c++: improve debug_tree for templated types/decls
gcc/cp/ChangeLog: * ptree.cc (cxx_print_decl): Check for DECL_LANG_SPECIFIC and TS_DECL_COMMON only when necessary. Print DECL_TEMPLATE_INFO for all decls that have it, not just VAR_DECL or FUNCTION_DECL. Also print DECL_USE_TEMPLATE. (cxx_print_type): Print TYPE_TEMPLATE_INFO. <case BOUND_TEMPLATE_TEMPLATE_PARM>: Don't print TYPE_TI_ARGS anymore. <case TEMPLATE_TYPE/TEMPLATE_PARM>: Print TEMPLATE_TYPE_PARM_INDEX instead of printing the index, level and original level individually.
Diffstat (limited to 'libstdc++-v3')
0 files changed, 0 insertions, 0 deletions