Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 770f295225cc75745141ae3a1e27fc497f2b24b3
https://github.com/WebKit/WebKit/commit/770f295225cc75745141ae3a1e27fc497f2b24b3
Author: Ryosuke Niwa <[email protected]>
Date: 2025-03-16 (Sun, 16 Mar 2025)
Changed paths:
A Source/JavaScriptCore/SaferCPPExpectations/ForwardDeclCheckerExpectations
A
Source/JavaScriptCore/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations
A
Source/JavaScriptCore/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations
A
Source/JavaScriptCore/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations
A
Source/JavaScriptCore/SaferCPPExpectations/UnretainedLambdaCapturesCheckerExpectations
A Source/WTF/SaferCPPExpectations/ForwardDeclCheckerExpectations
A Source/WTF/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations
A Source/WTF/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations
A Source/WTF/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations
A
Source/WTF/SaferCPPExpectations/UnretainedLambdaCapturesCheckerExpectations
A Source/WebCore/SaferCPPExpectations/ForwardDeclCheckerExpectations
A Source/WebCore/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations
A Source/WebCore/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations
A Source/WebCore/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations
A
Source/WebCore/SaferCPPExpectations/UnretainedLambdaCapturesCheckerExpectations
A Source/WebDriver/SaferCPPExpectations/ForwardDeclCheckerExpectations
A
Source/WebDriver/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations
A
Source/WebDriver/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations
A
Source/WebDriver/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations
A
Source/WebDriver/SaferCPPExpectations/UnretainedLambdaCapturesCheckerExpectations
A Source/WebGPU/SaferCPPExpectations/ForwardDeclCheckerExpectations
A Source/WebGPU/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations
A Source/WebGPU/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations
A Source/WebGPU/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations
A
Source/WebGPU/SaferCPPExpectations/UnretainedLambdaCapturesCheckerExpectations
A Source/WebInspectorUI/SaferCPPExpectations/ForwardDeclCheckerExpectations
A
Source/WebInspectorUI/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations
A
Source/WebInspectorUI/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations
A
Source/WebInspectorUI/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations
A
Source/WebInspectorUI/SaferCPPExpectations/UnretainedLambdaCapturesCheckerExpectations
A Source/WebKit/SaferCPPExpectations/ForwardDeclCheckerExpectations
A Source/WebKit/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations
A Source/WebKit/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations
A Source/WebKit/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations
A
Source/WebKit/SaferCPPExpectations/UnretainedLambdaCapturesCheckerExpectations
A Source/WebKitLegacy/SaferCPPExpectations/ForwardDeclCheckerExpectations
A
Source/WebKitLegacy/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations
A
Source/WebKitLegacy/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations
A
Source/WebKitLegacy/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations
A
Source/WebKitLegacy/SaferCPPExpectations/UnretainedLambdaCapturesCheckerExpectations
M Tools/Scripts/build-and-analyze
M Tools/Scripts/compare-static-analysis-results
M Tools/Scripts/generate-dirty-files
Log Message:
-----------
Enable RetainPtr checkers and forward declaration checker
https://bugs.webkit.org/show_bug.cgi?id=289828
Reviewed by David Kilzer.
Enable the following WebKit.alpha checkers:
- alpha.webkit.ForwardDeclChecker - Detects forward declared types.
- alpha.webkit.NoUnretainedMemberChecker - Detects member variables that should
use RetainPtr.
- alpha.webkit.RetainPtrCtorAdoptChecker - Detects incorrect use of RetainPtr
constructor or adoptNS/CF.
- alpha.webkit.UnretainedCallArgsChecker - Detects call arguments which should
use RetainPtr.
- alpha.webkit.UnretainedLambdaCapturesChecker - Detects lambda captures which
should use RetainPtr.
- alpha.webkit.UnretainedLocalVarsChecker - Detects local variables which
should use RetainPtr.
* Source/JavaScriptCore/SaferCPPExpectations/ForwardDeclCheckerExpectations:
Added.
*
Source/JavaScriptCore/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations:
Added.
*
Source/JavaScriptCore/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations:
Added.
*
Source/JavaScriptCore/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations:
Added.
*
Source/JavaScriptCore/SaferCPPExpectations/UnretainedLambdaCapturesCheckerExpectations:
Added.
* Source/WTF/SaferCPPExpectations/ForwardDeclCheckerExpectations: Added.
* Source/WTF/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations: Added.
* Source/WTF/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations: Added.
* Source/WTF/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations: Added.
* Source/WTF/SaferCPPExpectations/UnretainedLambdaCapturesCheckerExpectations:
Added.
* Source/WebCore/SaferCPPExpectations/ForwardDeclCheckerExpectations: Added.
* Source/WebCore/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations:
Added.
* Source/WebCore/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations:
Added.
* Source/WebCore/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations:
Added.
*
Source/WebCore/SaferCPPExpectations/UnretainedLambdaCapturesCheckerExpectations:
Added.
* Source/WebDriver/SaferCPPExpectations/ForwardDeclCheckerExpectations: Added.
* Source/WebDriver/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations:
Added.
* Source/WebDriver/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations:
Added.
* Source/WebDriver/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations:
Added.
*
Source/WebDriver/SaferCPPExpectations/UnretainedLambdaCapturesCheckerExpectations:
Added.
* Source/WebGPU/SaferCPPExpectations/ForwardDeclCheckerExpectations: Added.
* Source/WebGPU/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations:
Added.
* Source/WebGPU/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations:
Added.
* Source/WebGPU/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations:
Added.
*
Source/WebGPU/SaferCPPExpectations/UnretainedLambdaCapturesCheckerExpectations:
Added.
* Source/WebInspectorUI/SaferCPPExpectations/ForwardDeclCheckerExpectations:
Added.
*
Source/WebInspectorUI/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations:
Added.
*
Source/WebInspectorUI/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations:
Added.
*
Source/WebInspectorUI/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations:
Added.
*
Source/WebInspectorUI/SaferCPPExpectations/UnretainedLambdaCapturesCheckerExpectations:
Added.
* Source/WebKit/SaferCPPExpectations/ForwardDeclCheckerExpectations: Added.
* Source/WebKit/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations:
Added.
* Source/WebKit/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations:
Added.
* Source/WebKit/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations:
Added.
*
Source/WebKit/SaferCPPExpectations/UnretainedLambdaCapturesCheckerExpectations:
Added.
* Source/WebKitLegacy/SaferCPPExpectations/ForwardDeclCheckerExpectations:
Added.
*
Source/WebKitLegacy/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations:
Added.
*
Source/WebKitLegacy/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations:
Added.
*
Source/WebKitLegacy/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations:
Added.
*
Source/WebKitLegacy/SaferCPPExpectations/UnretainedLambdaCapturesCheckerExpectations:
Added.
* Tools/Scripts/build-and-analyze:
(make_analyzer_flags):
* Tools/Scripts/compare-static-analysis-results:
* Tools/Scripts/generate-dirty-files:
Canonical link: https://commits.webkit.org/292246@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