This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PING][PATCH] New plugin event when evaluating a constexpr call
- From: Andres Tiraboschi <andres dot tiraboschi at tallertechnologies dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 26 Apr 2016 10:41:41 -0300
- Subject: Re: [PING][PATCH] New plugin event when evaluating a constexpr call
- Authentication-results: sourceware.org; auth=none
- References: <CAJZwELnRxL54Z8GeXk1gTGY8qd8XeDsEXk-vAPJmMdjoyy-eqQ at mail dot gmail dot com> <571E6E3D dot 4030303 at redhat dot com>
Hi, thanks for answering,
2016-04-25 16:21 GMT-03:00 Jason Merrill <jason@redhat.com>:
> Let's create a constexpr.h rather than expose constexpr internals to all of
> the front end. Really, I'd prefer to avoid exposing them at all. Why does
> what you want to do require all this implementation detail?
Ok, you are right, I'll make a constexpr.h.
> This is a curious place to invoke the callback. Why before the
> *non_constant_p? More generally, why between evaluating the arguments and
> evaluating the function body?
That was because I was interested just in the functions and its
arguments, but you are right, I'll do the callback at the beginning of
the function.
Regards,
AndrÃs.