This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] Add IS_DIRECT_INITIALIZER?
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Jason Merrill <jason at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 14 May 2014 20:36:13 +0200
- Subject: Re: [C++ Patch] Add IS_DIRECT_INITIALIZER?
- Authentication-results: sourceware.org; auth=none
- References: <5373A0C5 dot 90303 at oracle dot com> <5373B71E dot 6070309 at redhat dot com>
Hi,
On 05/14/2014 08:34 PM, Jason Merrill wrote:
The name suggests that it would be true for any direct initialization,
which is wrong; see TARGET_EXPR_DIRECT_INIT_P (and the similarly
wrongly named DIRECT_INIT_EXPR_P).
Call your macro DIRECT_LIST_INIT_P and it's OK.
A good, thanks. I was a bit unsure myself.
Paolo.