NEW86417
check-webkit-style complains about anonymous blocks in C code
https://bugs.webkit.org/show_bug.cgi?id=86417
Summary check-webkit-style complains about anonymous blocks in C code
Andy Estes
Reported 2012-05-14 17:27:21 PDT
When using an anonymous block in C code, such as: dispatch_async(queue, ^{ // anonymous block }); check-webkit-style complains: "Missing space before { [whitespace/braces] [5]" As far as I know our style guide doesn't cover blocks specifically, but this is a common style and should probably be allowed.
Attachments
Andy Estes
Comment 1 2012-05-14 17:28:09 PDT
The patch in <https://bugs.webkit.org/show_bug.cgi?id=86411> has an example of such a block.
Note You need to log in before you can comment on or make changes to this bug.