[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -s
From: |
Clark Wang |
Subject: |
Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar |
Date: |
Wed, 17 Jun 2015 14:48:19 +0800 |
On Wed, Jun 17, 2015 at 2:29 PM, Tim Hentenaar <address@hidden> wrote:
> On Wed, Jun 17, 2015 at 01:08:19PM +0800, Clark Wang wrote:
> Hi Tim,
> >
> > Does your github repository ( https://github.com/thentenaar/indent )
> > include all these patches? I just tried your latest code (commit
> > 3c3dbe3e33) but it did not work. See followng example:
>
> Indeed. It's something related to the sizeof operator.
Yes. I also have a workaround here: http://superuser.com/questions/855881/
. :)
> I'll look into it
> today.
>
> If you change the first two lines in the initializer list for arr to
>
> { &a, "xxx" },
> { &b, 123 },
>
> those get formatted correctly.
>
> Kind Regards,
>
> Tim
>
>
- [PATCH 08/11] Adjust -npcs so that if set, no space will be added between a function pointer's name and its argument list., (continued)
- [PATCH 08/11] Adjust -npcs so that if set, no space will be added between a function pointer's name and its argument list., Tim Hentenaar, 2015/06/15
- [PATCH 05/11] Add an option to allow single-line conditionals, Tim Hentenaar, 2015/06/15
- [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Tim Hentenaar, 2015/06/15
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Daniel P. Valentine, 2015/06/15
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Andrew Shadura, 2015/06/15
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Tim Hentenaar, 2015/06/15
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, clarkw, 2015/06/16
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Tim Hentenaar, 2015/06/16
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Clark Wang, 2015/06/17
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Tim Hentenaar, 2015/06/17
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar,
Clark Wang <=
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Tim Hentenaar, 2015/06/17
- Re: [PATCH 11/11] Fix formatting of struct initializer lists, and add -sar, Clark Wang, 2015/06/18
[PATCH 10/11] Add -par to K&R style, Tim Hentenaar, 2015/06/15