Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 275336ba062220b1200c2801c623ea52e3cba05e
https://github.com/WebKit/WebKit/commit/275336ba062220b1200c2801c623ea52e3cba05e
Author: Ryosuke Niwa <[email protected]>
Date: 2026-03-07 (Sat, 07 Mar 2026)
Changed paths:
M Source/WebKit/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
M Source/WebKit/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
M
Source/WebKit/WebProcess/Extensions/Bindings/Scripts/CodeGeneratorExtensions.pm
Log Message:
-----------
Suppress safer C++ warnings in generated extensions code
https://bugs.webkit.org/show_bug.cgi?id=309411
Reviewed by Anne van Kesteren.
Suppress the local variable warning in *Singleton functions since they're
singleton
and will never be free'ed. Also suppress warnings generated for JSRetainPtr in
getPropertyNames* functions. The static analyzer doesn't know about JSRetainPtr
but
it keeps the variable alive so it's safe.
No new tests since there should be no behavioral changes.
* Source/WebKit/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WebKit/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations:
*
Source/WebKit/WebProcess/Extensions/Bindings/Scripts/CodeGeneratorExtensions.pm:
(_generateImplementationFile):
(_dynamicAttributesImplementation):
Canonical link: https://commits.webkit.org/308860@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications