[Webkit-unassigned] [Bug 58792] New: check-webkit-style should warn about { being on the same line as an if

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 18 09:16:11 PDT 2011


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

           Summary: check-webkit-style should warn about { being on the
                    same line as an if
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org
                CC: levin at chromium.org, cdn at chromium.org


check-webkit-style should warn about { being on the same line as an if

if (foo)
{
}

Should get a warning.

Likewise:

if (foo
    || bar)
{
}

The latter was found a bunch in:
https://bugs.webkit.org/show_bug.cgi?id=57885#c32
but the style elf failed to warn us. :(

-- 
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