[webkit-dev] Style guidelines for braced initialization

Ross.Kirsling at sony.com Ross.Kirsling at sony.com
Thu Apr 26 10:35:38 PDT 2018

Hi everybody,

A simple question regarding https://webkit.org/code-style-guidelines/:

I've currently got a clang-format patch up (https://reviews.llvm.org/D46024) to support our space-before-brace style for object initialization (i.e. `Foo foo { bar };` and not `Foo foo{ bar };`).
Although we’re enforcing this with check-webkit-style, the guidelines page currently makes no mention of braced initialization in particular. Should we add a clause for this?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20180426/aff97655/attachment.html>

More information about the webkit-dev mailing list