Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8c4138af1c5637c6e607ab447f166fc85866f6c8
      
https://github.com/WebKit/WebKit/commit/8c4138af1c5637c6e607ab447f166fc85866f6c8
  Author: Chris Dumez <[email protected]>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

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

  Log Message:
  -----------
  Address false positive for [safercpp/protected_getter_for_init] in the style 
script
https://bugs.webkit.org/show_bug.cgi?id=300764

Reviewed by Tim Nguyen.

The regex should match lines ending with `protectedFoo();` or `protectedFoo())` 
or
`protectedFoo()) {` but not `protectedFoo());`. Update the regex accordingly.

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

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to