Bug 32669

Summary: check-webkit-style should not mark moc files inclusion as errors
Product: WebKit Reporter: Yael <yael>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, commit-queue, levin, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
Patch. none

Yael
Reported 2009-12-17 10:01:59 PST
moc files are the "magic" behind Qt's signals and slots. These files must be included at the bottom of the cpp file which includes them, or compilation will fail. check-webkit-style marks including these files as out-of-order. see https://bugs.webkit.org/show_bug.cgi?id=32555#c6 as an example.
Attachments
Patch. (2.50 KB, patch)
2009-12-25 11:13 PST, Yael
no flags
Yael
Comment 1 2009-12-25 11:13:08 PST
WebKit Review Bot
Comment 2 2009-12-25 11:13:42 PST
style-queue ran check-webkit-style on attachment 45493 [details] without any errors.
Darin Adler
Comment 3 2009-12-25 20:07:16 PST
Comment on attachment 45493 [details] Patch. It would be even better if this rule was specific to Qt platform directories.
WebKit Commit Bot
Comment 4 2009-12-27 01:11:30 PST
Comment on attachment 45493 [details] Patch. Clearing flags on attachment: 45493 Committed r52575: <http://trac.webkit.org/changeset/52575>
WebKit Commit Bot
Comment 5 2009-12-27 01:11:35 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.