Bug 43881 - check-webkit-style false error on build/include_order for .cpp files with no .h
Summary: check-webkit-style false error on build/include_order for .cpp files with no .h
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: https://webkit-commit-queue.appspot.c...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 14:59 PDT by Vincent Scheib
Modified: 2012-03-06 07:38 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Scheib 2010-08-11 14:59:54 PDT
If a .cpp file has no associated .h file, it will not #include it. However, check-webkit-style will report an error:

"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]"
Comment 1 Jessie Berlin 2012-03-06 07:38:49 PST
This came up again while creating an all-in-one file for Windows:

https://bugs.webkit.org/show_bug.cgi?id=80346