]> gcc.gnu.org Git - gcc.git/commit
c++: Add TARGET_EXPR comments
authorJason Merrill <jason@redhat.com>
Mon, 4 Jan 2021 21:11:08 +0000 (16:11 -0500)
committerJason Merrill <jason@redhat.com>
Thu, 7 Jan 2021 21:09:11 +0000 (16:09 -0500)
commit6c59b8a93cf4784e3e3137416a3d32a1ecc8e00b
treef118a0ed3863ae888ed200d795385bce6cbd20d3
parent4d65a07d54bd9371475648f7de9d4b6a01238813
c++: Add TARGET_EXPR comments

Discussing the 98469 patch and class prvalues with Jakub led me to
double-check our handling of TARGET_EXPR in constexpr.c, and add a note
about why we don't strip them in parameter initialization.  And another to
clarify that we're handling an INIT_EXPR in a place we do strip them.

gcc/cp/ChangeLog:

* constexpr.c (cxx_bind_parameters_in_call): Add comment.
(cxx_eval_store_expression): Add comment.
gcc/cp/constexpr.c
This page took 0.052758 seconds and 5 git commands to generate.