Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 20fc18a555f2c2bee8aed9aae9e4256f467c4ab2
https://github.com/WebKit/WebKit/commit/20fc18a555f2c2bee8aed9aae9e4256f467c4ab2
Author: Chris Dumez <[email protected]>
Date: 2026-01-24 (Sat, 24 Jan 2026)
Changed paths:
M Tools/Scripts/webkitpy/style/checkers/cpp.py
M Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py
Log Message:
-----------
Update style checker to prevent addition of new `protected*()` / `checked*()`
member functions
https://bugs.webkit.org/show_bug.cgi?id=306200
Reviewed by Ryosuke Niwa.
Update style checker to prevent addition of new `protected*()` / `checked*()`
member functions, and recommend using `protect()` at call sites instead.
* Tools/Scripts/webkitpy/style/checkers/cpp.py:
(check_function_definition):
(CppChecker):
* Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py:
(WebKitStyleTest.test_protected_getter):
(WebKitStyleTest):
(WebKitStyleTest.test_checked_getter):
(WebKitStyleTest.test_names):
Canonical link: https://commits.webkit.org/306163@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications