Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3d7264455767d4f496bed2ddb456079393024f37
https://github.com/WebKit/WebKit/commit/3d7264455767d4f496bed2ddb456079393024f37
Author: Sosuke Suzuki <[email protected]>
Date: 2026-01-11 (Sun, 11 Jan 2026)
Changed paths:
M Tools/Scripts/webkitpy/style/checkers/cpp.py
M Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py
Log Message:
-----------
[Tools] Fix check-webkit-style false positives for PrintStream::printf
https://bugs.webkit.org/show_bug.cgi?id=305285
Reviewed by Darin Adler.
Use negative lookbehind in regex to exclude method calls like obj.printf() and
ptr->printf().
* 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/305439@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications