[webkit-changes] [WebKit/WebKit] 0ad840: Forbid smart pointer exceptions in style checker

Ryosuke Niwa noreply at github.com
Thu Dec 12 13:36:41 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0ad8402afdc46855de758f634cc2e749700ad076
      https://github.com/WebKit/WebKit/commit/0ad8402afdc46855de758f634cc2e749700ad076
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

  Changed paths:
    M Tools/Scripts/webkitpy/style/checkers/cpp.py
    M Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py

  Log Message:
  -----------
  Forbid smart pointer exceptions in style checker
https://bugs.webkit.org/show_bug.cgi?id=284570

Reviewed by Geoffrey Garen.

Added style checker for IsDeprecatedWeakRefSmartPointerException and IsDeprecatedTimerSmartPointerException.

* Tools/Scripts/webkitpy/style/checkers/cpp.py:
(check_safer_cpp):
(check_style):
(CppChecker):
* Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py:
(WebKitStyleTest.test_safer_cpp):

Canonical link: https://commits.webkit.org/287761@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