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

Darin Adler darin at apple.com
Thu Mar 17 09:40:54 PDT 2016


> On Mar 17, 2016, at 9:35 AM, Konstantin Tokarev <annulen at yandex.ru> wrote:
> 
> Here is a script which apparently can be used to convert whole code base to new style:
> 
> https://github.com/cgmb/guardonce

They sound like they are worth trying. Especially the “checkguard” script.

Whoever runs the script needs to be sure not to land any changes to API headers or third party source code.

— Darin


More information about the webkit-dev mailing list