Bug 53929

Summary: check-style should not complain about code in icu directories
Product: WebKit Reporter: Darin Adler <darin>
Component: Tools / TestsAssignee: Daniel Bates <dbates>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, commit-queue, dbates, ddkilzer, glenn, mmaxfield
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch darin: review+

Darin Adler
Reported 2011-02-07 10:47:57 PST
check-style should not complain about pasted ICU code in UnicodeMacrosFromICU.h; those are using the ICU style
Attachments
Patch (1.89 KB, patch)
2016-12-15 19:24 PST, Daniel Bates
darin: review+
Daniel Bates
Comment 1 2016-12-15 19:18:59 PST
(In reply to comment #0) > check-style should not complain about pasted ICU code in > UnicodeMacrosFromICU.h; those are using the ICU style UnicodeMacrosFromICU.h was removed in the patch for bug #128106, <https://trac.webkit.org/changeset/163315>. Having said that we still have imported ICU headers, say in Source/WebCore/icu, and check-webkit-style should not warn about style issues in such files.
Daniel Bates
Comment 2 2016-12-15 19:20:35 PST
For completeness, this issue caught my eye because of the deluge of style issues reported on each iteration of the patch for bug #160629 (attachment 297271 [details]), which imports more ICU headers.
Daniel Bates
Comment 3 2016-12-15 19:24:54 PST
Joseph Pecoraro
Comment 4 2016-12-15 19:30:45 PST
Comment on attachment 297287 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=297287&action=review > Tools/Scripts/webkitpy/style/checker.py:327 > + ] Style: Indentation of this seems weird. Should this have 4 spaces like the block below this?
Daniel Bates
Comment 5 2016-12-15 19:35:09 PST
(In reply to comment #4) > Comment on attachment 297287 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=297287&action=review > > > Tools/Scripts/webkitpy/style/checker.py:327 > > + ] > > Style: Indentation of this seems weird. Should this have 4 spaces like the > block below this? Wow, style bot failure. Will fix.
Daniel Bates
Comment 6 2016-12-15 19:36:37 PST
Note You need to log in before you can comment on or make changes to this bug.