[PATCH] clang-format: use git grep to generate the ForEachMacros list

2019-06-03 Thread Miguel Ojeda
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 --- We wrote this for the Linux kernel a while ago, and it has be

Re: [PATCH] clang-format: use git grep to generate the ForEachMacros list

2019-06-06 Thread Miguel Ojeda
On Wed, Jun 5, 2019 at 10:20 PM Taylor Blau wrote: > > 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.