[Webkit-unassigned] [Bug 223229] New: clang-format config file generate changes not compatible with expected webkit style.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 15 17:56:16 PDT 2021


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

            Bug ID: 223229
           Summary: clang-format config file generate changes not
                    compatible with expected webkit style.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jya at apple.com

Running clang-tidy will produce a style that is incompatible with what webkit-patch requires.

Examples:
---
    MediaSessionPlaybackState m_playbackState { MediaSessionPlaybackState::None };
becomes:
    MediaSessionPlaybackState m_playbackState{ MediaSessionPlaybackState::None };
---
    template<class Encoder> void encode(Encoder&) const;
becomes:
    template <class Encoder>
    void encode(Encoder&) const;
---
    String src;
    if (!decoder.decode(src))
        return { };
becomes:
    String src;
    if (!decoder.decode(src))
        return {};

-- 
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/20210316/dbf8ef94/attachment.htm>


More information about the webkit-unassigned mailing list