[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [RFC] xen: Add .astylerc for automated style-formatting
- To: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>
- From: Julien Grall <julien.grall@xxxxxxx>
- Date: Fri, 19 Jul 2019 09:43:39 +0100
- Cc: Artem Mygaiev <Artem_Mygaiev@xxxxxxxx>, Lars Kurth <lars.kurth@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>, Tim Deegan <tim@xxxxxxx>, Iurii Artemenko <Iurii_Artemenko@xxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Fri, 19 Jul 2019 08:43:52 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi Tamas,
On 18/07/2019 18:48, Tamas K Lengyel wrote:
- Line 1025: The tools needs to be able to deal for_each_vcpu(...) & co.
These can be made OK by adding braces. Other than that the only way I
found to make it not change the indentation is to add the comment "/*
*INDENT-OFF* */" before the block and "/* *INDENT-ON* */" afterwards.
None of them looks really appealing because it means astyle will not correctly
indent if the user does not add braces or comments.
Could astyle be easily modified to recognize foreach macros?
Cheers,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|