WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
155243
check-webkit-style complains about number of spaces at line-start for line breaks in conditional
https://bugs.webkit.org/show_bug.cgi?id=155243
Summary
check-webkit-style complains about number of spaces at line-start for line br...
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
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug