Re: [PATCH] clang-format: use git grep to generate the ForEachMacros list
- From
- Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
- Date
- Jun 6, 2019, 18:29 UTC
- Message-ID
- <CANiq72=9N_VmV=FVLw64Xhn0AGboTbud3be5fVTxapGyxTZ=rA@mail.gmail.com>
- In-Reply-To
- <20190605202019.GA84760@D-10-18-172-221.dhcp4.washington.edu>
On Wed, Jun 5, 2019 at 10:20 PM Taylor Blau <me@ttaylorr.com> wrote:
Show 14 quoted lines
> > Hi Miguel, > > On Tue, Jun 04, 2019 at 12:48:14AM +0200, Miguel Ojeda wrote: > > The ForEachMacros list can reasonably be generated grepping > > the C source code for macros with 'for_each' in their name. > > > > Taken almost verbatim from the .clang-format file in the Linux kernel. > > > > Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> > > Thanks for CC-ing me on this. I suspect that it was because I show up > somewhere recently in the blame for 'git grep' (I believe I worked on > adding `-o` about a year ago).
Yeah, I just picked a few names that were related to the file form the log, since I was unable to locate a MAINTAINERS file or something like that. :-)
Thanks for taking a look -- also to Johannes!
Cheers, Miguel