linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] clang-format for v5.3-rc8
@ 2019-09-04 18:29 Miguel Ojeda
  2019-09-04 23:34 ` Joe Perches
  2019-09-05 21:15 ` pr-tracker-bot
  0 siblings, 2 replies; 4+ messages in thread
From: Miguel Ojeda @ 2019-09-04 18:29 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Miguel Ojeda, linux-kernel

Hi Linus,

Please pull this trivial update for the .clang-format file.

Cheers,
Miguel

The following changes since commit a55aa89aab90fae7c815b0551b07be37db359d76:

  Linux 5.3-rc6 (2019-08-25 12:01:23 -0700)

are available in the Git repository at:

  https://github.com/ojeda/linux.git tags/clang-format-for-linus-v5.3-rc8

for you to fetch changes up to 52d083472e0b64d1da5b6469ed3defb1ddc45929:

  clang-format: Update with the latest for_each macro list (2019-08-31 10:00:51 +0200)

----------------------------------------------------------------
clang-format update for 5.3

----------------------------------------------------------------
Miguel Ojeda (1):
      clang-format: Update with the latest for_each macro list

 .clang-format | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] clang-format for v5.3-rc8
  2019-09-04 18:29 [GIT PULL] clang-format for v5.3-rc8 Miguel Ojeda
@ 2019-09-04 23:34 ` Joe Perches
  2019-09-05  0:05   ` Miguel Ojeda
  2019-09-05 21:15 ` pr-tracker-bot
  1 sibling, 1 reply; 4+ messages in thread
From: Joe Perches @ 2019-09-04 23:34 UTC (permalink / raw)
  To: Miguel Ojeda, Linus Torvalds; +Cc: linux-kernel

On Wed, 2019-09-04 at 20:29 +0200, Miguel Ojeda wrote:
> Hi Linus,
> 
> Please pull this trivial update for the .clang-format file.
> 
> Cheers,
> Miguel
> 
> The following changes since commit a55aa89aab90fae7c815b0551b07be37db359d76:
> 
>   Linux 5.3-rc6 (2019-08-25 12:01:23 -0700)
> 
> are available in the Git repository at:
> 
>   https://github.com/ojeda/linux.git tags/clang-format-for-linus-v5.3-rc8
> 
> for you to fetch changes up to 52d083472e0b64d1da5b6469ed3defb1ddc45929:
> 
>   clang-format: Update with the latest for_each macro list (2019-08-31 10:00:51 +0200)
> 
> ----------------------------------------------------------------
> clang-format update for 5.3
> 
> ----------------------------------------------------------------
> Miguel Ojeda (1):
>       clang-format: Update with the latest for_each macro list
> 
>  .clang-format | 17 ++++++++++++++---
>  1 file changed, 14 insertions(+), 3 deletions(-)

It's a long, long list.

$ git grep -P -h '^\s*#\s*define\s+\w*for_each\w*' | \
  grep -P -oh '\w+for_each\w*' | sort | uniq | wc -l
491

Isn't there some way to regexes or automate this?

Maybe just:
$ git grep -P -h '^\s*#\s*define\s+\w*for_each\w*' | \
  grep -P -oh '\w+for_each\w*' | sort | uniq > somefile...




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] clang-format for v5.3-rc8
  2019-09-04 23:34 ` Joe Perches
@ 2019-09-05  0:05   ` Miguel Ojeda
  0 siblings, 0 replies; 4+ messages in thread
From: Miguel Ojeda @ 2019-09-05  0:05 UTC (permalink / raw)
  To: Joe Perches; +Cc: Linus Torvalds, linux-kernel

On Thu, Sep 5, 2019 at 1:35 AM Joe Perches <joe@perches.com> wrote:
>
> It's a long, long list.
>
> $ git grep -P -h '^\s*#\s*define\s+\w*for_each\w*' | \
>   grep -P -oh '\w+for_each\w*' | sort | uniq | wc -l
> 491
>
> Isn't there some way to regexes or automate this?
>
> Maybe just:
> $ git grep -P -h '^\s*#\s*define\s+\w*for_each\w*' | \
>   grep -P -oh '\w+for_each\w*' | sort | uniq > somefile...

The command I use is in the file, I re-run it every once in a while.
Ideally we could run this somehow automatically every -rc (for
instance), e.g. Linus could have it in his release script or something
like that, or maybe at the end of the merge window.

Even being more idealistic, clang-format could somehow do this itself
keeping a cache somewhere.

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] clang-format for v5.3-rc8
  2019-09-04 18:29 [GIT PULL] clang-format for v5.3-rc8 Miguel Ojeda
  2019-09-04 23:34 ` Joe Perches
@ 2019-09-05 21:15 ` pr-tracker-bot
  1 sibling, 0 replies; 4+ messages in thread
From: pr-tracker-bot @ 2019-09-05 21:15 UTC (permalink / raw)
  To: Miguel Ojeda; +Cc: Linus Torvalds, Miguel Ojeda, linux-kernel

The pull request you sent on Wed, 4 Sep 2019 20:29:49 +0200:

> https://github.com/ojeda/linux.git tags/clang-format-for-linus-v5.3-rc8

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/13133f933ac463f233fbf118061c4c47cd72eecf

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-09-05 21:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04 18:29 [GIT PULL] clang-format for v5.3-rc8 Miguel Ojeda
2019-09-04 23:34 ` Joe Perches
2019-09-05  0:05   ` Miguel Ojeda
2019-09-05 21:15 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).