NEW 181441
check-webkit-style mishandles bracket syntax used in initializer lists
https://bugs.webkit.org/show_bug.cgi?id=181441
Summary check-webkit-style mishandles bracket syntax used in initializer lists
Brady Eidson
Reported 2018-01-09 10:26:57 PST
check-webkit-style mishandles bracket syntax used in initializer lists For an e.g. look at this patch: https://bugs.webkit.org/attachment.cgi?id=330829&action=prettypatch UIMessageChannel::UIMessageChannel(const MessagePortIdentifier& port1, const MessagePortIdentifier& port2) : m_identifiers { port1, port2 } , m_processes { port1.processIdentifier, port2.processIdentifier } { ... } It incorrectly identifies the initialization of the m_processes member as the constructor function body.
Attachments
Note You need to log in before you can comment on or make changes to this bug.