WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
124821
check-webkit-style should check for extraneous newline between config.h and primary header
https://bugs.webkit.org/show_bug.cgi?id=124821
Summary
check-webkit-style should check for extraneous newline between config.h and p...
Brian Burg
Reported
2013-11-24 18:04:48 PST
The solution should be added in the vicinity of Source/Tools/Scripts/webkitpy/style/checkers/cpp.py, in function check_include_line.
Attachments
patch
(3.53 KB, patch)
2013-11-29 00:58 PST
,
Gergő Balogh
ossy
: review+
ossy
: commit-queue-
Details
Formatted Diff
Diff
patch fix
(3.77 KB, patch)
2013-11-29 05:42 PST
,
Gergő Balogh
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
László Langó
Comment 1
2013-11-27 06:04:11 PST
(In reply to
comment #0
)
> The solution should be added in the vicinity of Source/Tools/Scripts/webkitpy/style/checkers/cpp.py, in function check_include_line.
Why do you want an extra blank line between the config.h and primary header? On the given URL there is no such rule.
Brian Burg
Comment 2
2013-11-27 10:39:29 PST
extraneous, meaning that it is not necessary. So the following is good: #include "config.h" #include "Foo.h" the following is discouraged: #include "config.h" #include "Foo.h"
Gergő Balogh
Comment 3
2013-11-29 00:58:07 PST
Created
attachment 218038
[details]
patch
Csaba Osztrogonác
Comment 4
2013-11-29 03:02:48 PST
Comment on
attachment 218038
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=218038&action=review
> Tools/Scripts/webkitpy/style/checkers/cpp.py:2821 > # Check to make sure we have a blank line after primary header.
Please fix this comment before landing.
Gergő Balogh
Comment 5
2013-11-29 05:42:00 PST
Created
attachment 218055
[details]
patch fix
WebKit Commit Bot
Comment 6
2013-11-29 06:30:13 PST
Comment on
attachment 218055
[details]
patch fix Clearing flags on attachment: 218055 Committed
r159872
: <
http://trac.webkit.org/changeset/159872
>
WebKit Commit Bot
Comment 7
2013-11-29 06:30:15 PST
All reviewed patches have been landed. Closing bug.
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