git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Taylor Blau <me@ttaylorr.com>
Date
Jun 5, 2019, 20:20 UTC
Message-ID
<20190605202019.GA84760@D-10-18-172-221.dhcp4.washington.edu>
In-Reply-To
<20190603224814.GA15851@gmail.com>
Hi Miguel,
On Tue, Jun 04, 2019 at 12:48:14AM +0200, Miguel Ojeda wrote:
Show 6 quoted lines
> 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).

You 'git grep' usage of course looks correct, so this patch looks good to me, too.

Thanks, Taylor

Previous: Johannes SchindelinNext: Miguel Ojeda
Message 3 of 4 in “clang-format: use git grep to generate the ForEachMacros list”
  1. clang-format: use git grep to generate the ForEachMacros listMiguel Ojeda, Jun 3, 2019
  2. Johannes SchindelinJun 4, 2019
  3. Taylor BlauJun 5, 2019
  4. Miguel OjedaJun 6, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.