Bug 181441
| Summary: | check-webkit-style mishandles bracket syntax used in initializer lists | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brady Eidson <beidson> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | lforschler |
| Priority: | P2 | ||
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Brady Eidson
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |