[C++] template parm cleanup
Nathan Sidwell
nathan@acm.org
Mon May 4 16:53:47 GMT 2020
When working on 94827 I noticed that process_template_parm was doing
more work than necessary -- using 'last_node' and later 'chainon'. This
fixes that up to just walk the list once.
Also, I didn't understand the reason why end_template_parms does a pop
of the dummy header, and then a push of the real one -- why not just
modify the dummy in place? Added a comment about that.
pushed to trunk.
nathan
--
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pt.diff
Type: text/x-patch
Size: 2957 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200504/119143c5/attachment.bin>
More information about the Gcc-patches
mailing list