[webkit-dev] Proposal: Use #pragma once instead of header guards

Brady Eidson beidson at apple.com
Thu Jul 14 14:43:39 PDT 2016


> On Jul 14, 2016, at 11:17 AM, Frédéric WANG <fred.wang at free.fr> wrote:
> 
> FYI, I just performed that change as part of a general cleanup of MathML
> headers:
> 
> https://trac.webkit.org/changeset/203228
> 
> The code style guidelines still mention the old-style header guards so
> it should probably be updated:
> 
> https://webkit.org/code-style-guidelines/#names-header-guards <https://webkit.org/code-style-guidelines/#names-header-guards>

Header guard style should be updated to be "#pragma once"
https://bugs.webkit.org/show_bug.cgi?id=159785 <https://bugs.webkit.org/show_bug.cgi?id=159785>

~Brady

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20160714/3e2d60fa/attachment.html>


More information about the webkit-dev mailing list