Bug 39773 - [Qt] Localizations.cpp has coding-style errors
Summary: [Qt] Localizations.cpp has coding-style errors
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2010-05-26 13:34 PDT by Anders Bakken
Modified: 2010-06-04 20:52 PDT (History)
4 users (show)

See Also:


Attachments
Patch that fixes the coding style issues (2.25 KB, patch)
2010-05-26 14:44 PDT, Anders Bakken
no flags Details | Formatted Diff | Diff
Patch (2.31 KB, patch)
2010-06-04 11:00 PDT, Anders Bakken
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Bakken 2010-05-26 13:34:31 PDT
WebCore/platform/qt/Localizations.cpp:31:  Found other header before a header this file implements. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
WebCore/platform/qt/Localizations.cpp:37:  Alphabetical sorting problem.  [build/include_order] [4]
WebCore/platform/qt/Localizations.cpp:482:  One line control clauses should not use braces.  [whitespace/braces] [4]
WebCore/platform/qt/Localizations.cpp:486:  One line control clauses should not use braces.  [whitespace/braces] [4]
WebCore/platform/qt/Localizations.cpp:490:  One line control clauses should not use braces.  [whitespace/braces] [4]
WebCore/platform/qt/Localizations.cpp:494:  One space before end of line comments  [whitespace/comments] [5]
Total errors found: 6 in 1 files
Comment 1 Anders Bakken 2010-05-26 14:44:42 PDT
Created attachment 57154 [details]
Patch that fixes the coding style issues
Comment 2 WebKit Review Bot 2010-05-26 14:47:10 PDT
Attachment 57154 [details] did not pass style-queue:

Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1
WebCore/platform/qt/Localizations.cpp:30:  Found other header before a header this file implements. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Anders Bakken 2010-05-26 15:02:51 PDT
Comment on attachment 57154 [details]
Patch that fixes the coding style issues

The style error relates to this:

https://bugs.webkit.org/show_bug.cgi?id=39787
Comment 4 Petri Ojala 2010-05-26 21:50:03 PDT
QtTriaged
Comment 5 David Levin 2010-05-27 11:16:02 PDT
Comment on attachment 57154 [details]
Patch that fixes the coding style issues

>   No new tests. (OOPS!)
Ditto.
Comment 6 David Levin 2010-05-27 11:16:39 PDT
(In reply to comment #3)
> (From update of attachment 57154 [details])
> The style error relates to this:
> 
> https://bugs.webkit.org/show_bug.cgi?id=39787

Feel free to fix. Should be pretty easy :)
Comment 7 Anders Bakken 2010-06-04 11:00:29 PDT
Created attachment 57896 [details]
Patch
Comment 8 WebKit Review Bot 2010-06-04 11:04:06 PDT
Attachment 57896 [details] did not pass style-queue:

Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1
WebCore/platform/qt/Localizations.cpp:30:  Found other header before a header this file implements. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 9 WebKit Commit Bot 2010-06-04 20:52:19 PDT
Comment on attachment 57896 [details]
Patch

Clearing flags on attachment: 57896

Committed r60730: <http://trac.webkit.org/changeset/60730>
Comment 10 WebKit Commit Bot 2010-06-04 20:52:25 PDT
All reviewed patches have been landed.  Closing bug.