[webkit-dev] Style guidelines for braced initialization

Filip Pizlo fpizlo at apple.com
Thu Apr 26 10:36:22 PDT 2018

> On Apr 26, 2018, at 10:35 AM, Ross.Kirsling at sony.com wrote:
> Hi everybody,
> A simple question regarding https://webkit.org/code-style-guidelines/ <https://webkit.org/code-style-guidelines/>:
> I've currently got a clang-format patch up (https://reviews.llvm.org/D46024) <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?

Yeah, sounds like we should!


> Thanks!
> Ross
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org <mailto:webkit-dev at lists.webkit.org>
> https://lists.webkit.org/mailman/listinfo/webkit-dev <https://lists.webkit.org/mailman/listinfo/webkit-dev>

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

More information about the webkit-dev mailing list