[webkit-dev] maybe_unused vs UNUSED_PARAM

Alex Christensen achristensen at apple.com
Wed Jan 24 09:34:07 PST 2024


For many years we have used the UNUSED_PARAM macros, and we have almost 3000 of them.  C++17 introduced [[maybe_unused]] for this purpose, and a few uses of it are starting to pop up in WebKit.  Should we switch, should we transition, should we allow both, or should we just stick with UNUSED_PARAM?


More information about the webkit-dev mailing list