Bug 166579

Summary: check-webkit-style should not warn about #ifndef header guards in API headers
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: bugs-noreply, lforschler, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   

Michael Catanzaro
Reported 2016-12-29 08:23:20 PST
check-webkit-style should not warn about #ifndef header guards in API headers: ERROR: Source/WebKit2/UIProcess/API/gtk/WebKitSecurityOriginPrivate.h:20: Use #pragma once instead of #ifndef for header guard. [build/header_guard] [5] This file is an installed API header, so we shouldn't use #pragma once.
Attachments
Michael Catanzaro
Comment 1 2016-12-29 09:33:30 PST
Well the problem is I can't read, that's the non-installed Private header. It's properly ignoring all the installed headers. The script is correct.
Note You need to log in before you can comment on or make changes to this bug.