Summary: | Header guard style should be updated to be "#pragma once" | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Brady Eidson <beidson> | ||||
Component: | Tools / Tests | Assignee: | Joseph Pecoraro <joepeck> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, fred.wang, glenn, joepeck, lforschler, ossy, simon.fraser | ||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Brady Eidson
2016-07-14 14:43:44 PDT
Style guide was updated with bug 162633: <https://trac.webkit.org/changeset/206495> I'll use this to cover check-webkit-style change. Created attachment 290149 [details]
[PATCH] Proposed Fix
Comment on attachment 290149 [details] [PATCH] Proposed Fix Clearing flags on attachment: 290149 Committed r206897: <http://trac.webkit.org/changeset/206897> All reviewed patches have been landed. Closing bug. I'm not sure this is helping at this point: ERROR: Source/WebKit/mac/WebView/WebViewPrivate.h:0: Use #pragma once header guard. [build/header_guard] [5] ERROR: Tools/MiniBrowser/mac/BrowserWindowController.h:0: Use #pragma once header guard. [build/header_guard] [5] ERROR: Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h:0: Use #pragma once header guard. [build/header_guard] [5] Bug 163575. (In reply to comment #5) > I'm not sure this is helping at this point: > > ERROR: Source/WebKit/mac/WebView/WebViewPrivate.h:0: Use #pragma once > header guard. [build/header_guard] [5] > ERROR: Tools/MiniBrowser/mac/BrowserWindowController.h:0: Use #pragma once > header guard. [build/header_guard] [5] > ERROR: Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h:0: Use #pragma > once header guard. [build/header_guard] [5] Those examples clearly show a bug in the style-checker script. I'm not sure why the existence of a fixable bug means that the style check is no longer worth it. |