[Webkit-unassigned] [Bug 86417] New: check-webkit-style complains about anonymous blocks in C code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 14 17:28:17 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=86417

           Summary: check-webkit-style complains about anonymous blocks in
                    C code
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aestes at apple.com
                CC: eric at webkit.org


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list