On Thu, Apr 26, 2018 at 3:45 AM, Richard Biener
<richard.guent...@gmail.com> wrote:
> On Wed, Apr 25, 2018 at 7:10 PM, Nathan Sidwell <nat...@acm.org> wrote:
>> On 04/25/2018 11:41 AM, David Malcolm wrote:
>>>
>>> Jason Turner's video C++ Weekly - Ep 112 - GCC's Leaky Abstractions shows
>>> two issues where g++ offers suggestions about implementation details:
>>
>>
>>> For the lambda capture case, there are multiple members:
>>>
>>> $9 = <function_decl 0x7ffff1a1dd00 __ct >
>>
>>
>> These names have a space at the end, so the user cannot name them.  We could
>> move the space to the beginning, if that helps?
>
> I think compiler-generated entities that are not supposed to be
> user-visible should be DECL_ARTIFICIAL.

Agreed, add_capture should set that flag on the FIELD_DECLs.

Jason

Reply via email to