aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-05-14 06:39:29 -0700
committerNathan Sidwell <nathan@acm.org>2020-05-14 06:39:29 -0700
commitc4bff4c230c8d3414bc77f7a58ffc5f61b6bd08c (patch)
tree4020d2ec18a19c8c1e247b8f1f43fe6031de115b /libgcc
parent941c94747007e50ccaae6e94cf0402ff5bb63d43 (diff)
downloadgcc-c4bff4c230c8d3414bc77f7a58ffc5f61b6bd08c.zip
gcc-c4bff4c230c8d3414bc77f7a58ffc5f61b6bd08c.tar.gz
gcc-c4bff4c230c8d3414bc77f7a58ffc5f61b6bd08c.tar.bz2
c++: Improve build_template_decl
I discovered all the users of build_template_decl were explicitly setting the RESULT and TYPE fields of the built decl. Let's just have build_template_decl do that in the first place. * pt.c (build_template_decl): Init DECL_TEMPLATE_RESULT & TREE_TYPE here ... (process_partial_specialization): ... not here ... (push_template_decl_real, add_inherited_template_parms) (build_deduction_guide): ... or here.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions