Summary: | WebKitTools/Scripts/check-webkit-style gives false positives in single-line functions. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Gavin Barraclough <barraclough> | ||||||
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bashi, commit-queue, hamaji | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | PC | ||||||||
OS: | OS X 10.5 | ||||||||
Attachments: |
|
Description
Gavin Barraclough
2010-01-18 15:35:51 PST
Created attachment 62831 [details]
Patch
Comment on attachment 62831 [details]
Patch
Looks great. I'll make the following changes when I'll land this patch.
WebKitTools/Scripts/webkitpy/style/checkers/cpp_unittest.py:2600
+ '}\n',
I'd put a semicolon so this code is valid as C++.
WebKitTools/Scripts/webkitpy/style/checkers/cpp_unittest.py:2608
+ '}\n',
ditto
Yay! this bug has been annoying me so much I've been considering learning python! This is constantly biting me, I'm so happy to see this fixed, thank you! Created attachment 62901 [details]
Hamaji-san, Thank you for your quick review. I put semicolons after brackets.
Comment on attachment 62901 [details]
Hamaji-san, Thank you for your quick review. I put semicolons after brackets.
Thanks for your update!
Comment on attachment 62901 [details] Hamaji-san, Thank you for your quick review. I put semicolons after brackets. Clearing flags on attachment: 62901 Committed r64263: <http://trac.webkit.org/changeset/64263> All reviewed patches have been landed. Closing bug. |