[Webkit-unassigned] [Bug 171632] [Tools] Add support for clang-tidy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 4 11:56:08 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=171632

--- Comment #6 from Jonathan Bedard <jbedard at apple.com> ---
I'm sorry, I misread your first command Don.  You are using Clang's WebKit style.

I looked into using clang's WebKit style a few months ago.  I'm not sure where clang is getting their specifications for WebKit style from, it was a surprise to our team that this was an option.  While clang's format options are close to what we use, they fall short with some spacing problems, which actually requires modification of clang's source to correction.  If I remember correctly, the patch you posted here actually has that issue:

constexpr constexpr_optional_base() __NOEXCEPT :, storage_(trivial_init){};

should be

constexpr constexpr_optional_base() __NOEXCEPT :, storage_(trivial_init) {};

The style checker in WebKit (./Tools/Scripts/check-webkit-style) probably flags this, no?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170504/8bcfa2df/attachment.html>


More information about the webkit-unassigned mailing list