[webkit-dev] Code Style Guideline entry about a space in empty braces

Kohei.Asano at sony.com Kohei.Asano at sony.com
Fri Jun 14 00:37:36 PDT 2024


Hi.  I'm now working on clang-format refinement for WebKit style. Although pre-set for WebKit is unused on WebKit/WebKit itself as we see https://github.com/WebKit/WebKit/blob/e91b9416d35d02968ccb1554d14e94568c762be5/.clang-format#L2, I'll add missing features of clang-format itself to make consistent with WebKit code style.

A maintainer catches that we should take care about WebKit Code Style Guideline, in the patch that adds a missed feature https://github.com/llvm/llvm-project/pull/93634#discussion_r1632439352. So I wouldn't update WebKit pre-set on clang-format.

I found Code Style Guideline misses an entry about empty braces, while check-webkit-style catches. I also created bugzilla ticket https://bugs.webkit.org/show_bug.cgi?id=275309 and candidate doc update patch https://github.com/WebKit/WebKit/pull/29668

Which is better to update Code Style Guideline or check-webkit-style?

Thanks in advance.

Kohei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20240614/3e074468/attachment.htm>


More information about the webkit-dev mailing list