Bug 155243

Summary: check-webkit-style complains about number of spaces at line-start for line breaks in conditional
Product: WebKit Reporter: John Wilander <wilander>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: lforschler
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

John Wilander
Reported 2016-03-09 11:34:34 PST
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; } } }
Attachments
Note You need to log in before you can comment on or make changes to this bug.