Bug 198906
| Summary: | check-webkit-style should support c++17 structured bindings | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sam Weinig
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]
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |