[webkit-dev] Proposal: macros to explicitly ignore warnings
Michael Catanzaro
mcatanzaro at igalia.com
Tue Aug 28 09:57:03 PDT 2018
On Tue, Aug 28, 2018 at 11:47 AM, Guillaume Emont
<guijemont at igalia.com> wrote:
> PRAGMA_IGNORE_WARNING_CLANG("-Wfoo-bar")
> // Code that triggers the warning.
> PRAGMA_IGNORE_WARNING_CLANG_END("-Wfoo-bar")
Maybe:
PRAGMA_IGNORE_CLANG_WARNING("-Wfoo-bar")
? That reads slightly better to me.
FWIW I think this is great.
Michael
More information about the webkit-dev
mailing list