Bug 56418 - Incorrect check-webkit-style warning on header guards
Summary: Incorrect check-webkit-style warning on header guards
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-15 14:55 PDT by Kevin Ollivier
Modified: 2011-03-15 14:55 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Ollivier 2011-03-15 14:55:44 PDT
When adding header guards in a recent patch, it erroneously told me that the header guard name should be WTF_config_h, even though the file in question was not in WTF or even JSCore. Here is the line in question, along with the warning it generated:

>> Tools/WebKitAPITest/config.h:25
>> +#ifndef WebKitAPITests_config_h
> 
> #ifndef header guard has wrong style, please use: WTF_config_h  [build/header_guard] [5]