Bug 198906 - check-webkit-style should support c++17 structured bindings
Summary: check-webkit-style should support c++17 structured bindings
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-16 13:16 PDT by Sam Weinig
Modified: 2019-06-17 13:17 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2019-06-16 13:16:19 PDT
check-webkit-style should support c++17 structured bindings (https://en.cppreference.com/w/cpp/language/structured_binding) syntax. Currently, the following code issues the following error:

auto [a, b, c] = getTuple();

> ERROR: Foo.cpp:1:  Extra space before [. 
> [whitespace/brackets] [5]