Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e54a6839fd1cd171a308108f780daac5a0f48ac4
https://github.com/WebKit/WebKit/commit/e54a6839fd1cd171a308108f780daac5a0f48ac4
Author: Chris Dumez <[email protected]>
Date: 2025-11-05 (Wed, 05 Nov 2025)
Changed paths:
M Source/WTF/wtf/Compiler.h
M Source/WebKit/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations
M
Source/WebKitLegacy/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations
Log Message:
-----------
Address Safer CPP warning in WKView.h
https://bugs.webkit.org/show_bug.cgi?id=301986
Reviewed by Ryosuke Niwa.
WKView.h has an unused instance variable that is flagged as unsafe by safer cpp
due to using a raw pointer. However, I cannot modify this header due to backward
compatibility. Also, the code is not truly unsafe since this instance variable
is unused. To silence the warning I am adding `[[clang::suppress]]` to
`WK_UNUSED_INSTANCE_VARIABLE` to ignore compiler warnings on unused instance
variables.
* Source/WTF/wtf/Compiler.h:
* Source/WebKit/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations:
*
Source/WebKitLegacy/SaferCPPExpectations/NoUnretainedMemberCheckerExpectations:
Canonical link: https://commits.webkit.org/302619@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications