diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-05-14 06:39:29 -0700 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-05-14 06:39:29 -0700 |
commit | c4bff4c230c8d3414bc77f7a58ffc5f61b6bd08c (patch) | |
tree | 4020d2ec18a19c8c1e247b8f1f43fe6031de115b /libgcc | |
parent | 941c94747007e50ccaae6e94cf0402ff5bb63d43 (diff) | |
download | gcc-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