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

Konstantin Tokarev annulen at yandex.ru
Thu Mar 17 09:35:45 PDT 2016



10.03.2016, 05:07, "Brent Fulgham" <bfulgham at apple.com>:
>>  On Mar 9, 2016, at 5:27 PM, Anders Carlsson <andersca at apple.com> wrote:
>>
>>  I propose that we instead start using
>>
>>  #pragma once
>
> +1

Here is a script which apparently can be used to convert whole code base to new style:

https://github.com/cgmb/guardonce

-- 
Regards,
Konstantin


More information about the webkit-dev mailing list