Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: af8b9437ca6003e972f6b0a40416b5b92bbfbfd8
https://github.com/WebKit/WebKit/commit/af8b9437ca6003e972f6b0a40416b5b92bbfbfd8
Author: Ryosuke Niwa <[email protected]>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M Source/WTF/wtf/AbstractRefCountedAndCanMakeWeakPtr.h
M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
M Source/WebKit/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
M Source/WebKit/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
Log Message:
-----------
Workaround false negatives with types which inherit from
AbstractRefCountedAndCanMakeWeakPtr
https://bugs.webkit.org/show_bug.cgi?id=281709
Reviewed by Geoffrey Garen.
Re-define ref() and deref() in AbstractRefCountedAndCanMakeWeakPtr and
AbstractRefCountedAndCanMakeSingleThreadWeakPtr directly to workaround the bug
in
the clang static analyzer.
* Source/WTF/wtf/AbstractRefCountedAndCanMakeWeakPtr.h:
* Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WebKit/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WebKit/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations:
Canonical link: https://commits.webkit.org/285445@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