[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36650: 27.0.50; CC Mode: Support C++ attributes
From: |
Óscar Fuentes |
Subject: |
bug#36650: 27.0.50; CC Mode: Support C++ attributes |
Date: |
Mon, 15 Jul 2019 17:17:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Alan Mackenzie <acm@muc.de> writes:
> Yes. I'll have a look at this.
Thanks.
>> In general, considering them part of the following token for indentation
>> purposes and fontifying with some existing or new face should be enough.
>
> I will probably end up treating attributes as syntactic whitespace.
> They have no syntactic connection with the code they are embedded in,
> any more than macros do.
I don't know how syntactic whitespace works on CC Mode, so just in case
I'll mention that this code
int foo([[maybe_unused]] int a,
int b);
should not be formatted as
int foo([[maybe_unused]] int a,
int b);
- bug#36650: 27.0.50; CC Mode: Support C++ attributes, Óscar Fuentes, 2019/07/14
- Message not available
- bug#36650: 27.0.50; CC Mode: Support C++ attributes, Alan Mackenzie, 2019/07/15
- bug#36650: 27.0.50; CC Mode: Support C++ attributes,
Óscar Fuentes <=
- bug#36650: 27.0.50; CC Mode: Support C++ attributes, Alan Mackenzie, 2019/07/20
- bug#36650: 27.0.50; CC Mode: Support C++ attributes, Óscar Fuentes, 2019/07/20
- bug#36650: 27.0.50; CC Mode: Support C++ attributes, Alan Mackenzie, 2019/07/21
- bug#36650: 27.0.50; CC Mode: Support C++ attributes, Óscar Fuentes, 2019/07/21
- bug#36650: 27.0.50; CC Mode: Support C++ attributes, Alan Mackenzie, 2019/07/21