[webkit-changes] [WebKit/WebKit] adca80: Use UNUSED_VARIADIC_PARAMS instead of UNUSED_FUNCT...

Abrar Rahman Protyasha noreply at github.com
Mon Oct 2 03:18:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: adca80d368935ef028e7157153d6a5b47438b853
      https://github.com/WebKit/WebKit/commit/adca80d368935ef028e7157153d6a5b47438b853
  Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
  Date:   2023-10-02 (Mon, 02 Oct 2023)

  Changed paths:
    M Source/WTF/wtf/AggregateLogger.h
    M Source/WTF/wtf/Logger.h

  Log Message:
  -----------
  Use UNUSED_VARIADIC_PARAMS instead of UNUSED_FUNCTION for variadic arguments
https://bugs.webkit.org/show_bug.cgi?id=262436
rdar://116273546

Reviewed by Jean-Yves Avenard.

UNUSED_FUNCTION is an unfortunate misnomer in this context, while
UNUSED_VARIADIC_PARAMS fits the bill much better. This commit replaces
all uses of UNUSED_FUNCTION as a vehicle to indicate an unused
parameter pack with the former.

* Source/WTF/wtf/AggregateLogger.h:
(WTF::AggregateLogger::logAlways const):
* Source/WTF/wtf/Logger.h:
(WTF::Logger::logAlwaysVerbose const):

Canonical link: https://commits.webkit.org/268721@main




More information about the webkit-changes mailing list