[Webkit-unassigned] [Bug 155243] New: check-webkit-style complains about number of spaces at line-start for line breaks in conditional

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 9 11:34:34 PST 2016


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

            Bug ID: 155243
           Summary: check-webkit-style complains about number of spaces at
                    line-start for line breaks in conditional
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wilander at apple.com
                CC: lforschler at apple.com

The style checker complains about the number of spaces at line-start for the OR cases in this conditional:

    for (auto& resource : resourceMap.values()) {
        if (resource.isSomething && resource.isSomthingElse) {
            vectorA.append(resource.domain);
        } else if (resource.isSomething) {
            vectorB.append(resource.domain);
        } else if (resource.subresourceMapA.size() > subresourceThresholdA
                   || resource.subresourceMapB.size() > subresourceThresholdB
                   || resource.subresourceMapC.size() > subresourceThresholdC
                   || resource.subresourceMapD.size() > subresourceThresholdD) {
            if (resource.isSomethingElse)
                vectorA.append(resource.domain);
            else {
                vectorB.append(resource.domain);
                resource.isSomething = true;
            }
        }
    }

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160309/afdae6fa/attachment.html>


More information about the webkit-unassigned mailing list