[webkit-changes] [WebKit/WebKit] 00b342: Suppress uncounted local var warning in RETURN_IF_...

Mikhail R. Gadelha noreply at github.com
Thu May 9 06:43:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 00b342534fc4efcdbe48e6f332982cc6c88ad41d
      https://github.com/WebKit/WebKit/commit/00b342534fc4efcdbe48e6f332982cc6c88ad41d
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-05-09 (Thu, 09 May 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/ExceptionScope.h

  Log Message:
  -----------
  Suppress uncounted local var warning in RETURN_IF_EXCEPTION
https://bugs.webkit.org/show_bug.cgi?id=273697

Reviewed by Ryosuke Niwa.

Add a macro to supress warning on the vm variable not being counted when
the preprocessor expands the RETURN_IF_EXCEPTION macro in a function
body.

This patch removes more than 2000 warnings when checking all the webkit
codebase.

* Source/JavaScriptCore/runtime/ExceptionScope.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list