Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 163c1963d462e725fa35e0c320dd249ea29c540b
https://github.com/WebKit/WebKit/commit/163c1963d462e725fa35e0c320dd249ea29c540b
Author: Ryosuke Niwa <[email protected]>
Date: 2026-10-10 (Sat, 10 Oct 2026)
Changed paths:
M Source/WTF/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations
M Source/WTF/SaferCPPExpectations/NoDeleteCheckerExpectations
M Source/WTF/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
M Source/WTF/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
M Source/WTF/wtf/CanMakeWeakPtr.h
M Source/WTF/wtf/GenericTimeMixin.h
M Source/WTF/wtf/JSONValues.cpp
M Source/WTF/wtf/JSONValues.h
M Source/WTF/wtf/MetaAllocator.h
M Source/WTF/wtf/ReadWriteLock.h
M Source/WTF/wtf/RefCounted.h
M Source/WTF/wtf/ThreadSafeRefCounted.h
M Source/WTF/wtf/TypeCasts.h
M Source/WTF/wtf/cocoa/LanguageCocoa.mm
M Source/WTF/wtf/cocoa/URLCocoa.mm
M Source/WTF/wtf/text/AtomString.h
M Source/WTF/wtf/text/ExternalStringImpl.h
M Source/WTF/wtf/text/StringImpl.cpp
M Source/WTF/wtf/text/StringView.h
M Source/WTF/wtf/text/SymbolImpl.h
M Source/WTF/wtf/text/WTFString.h
M Source/WTF/wtf/text/cocoa/TextStreamCocoa.mm
Log Message:
-----------
Fix safer C++ warnings in Source/WTF after 2026-10-06 rollout
https://bugs.webkit.org/show_bug.cgi?id=327103
Reviewed by Anne van Kesteren.
Fixed safer C++ static analyzer warnings in Source/WTF.
No new tests since there should be no observable behavior changes.
* Source/WTF/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations:
* Source/WTF/SaferCPPExpectations/NoDeleteCheckerExpectations:
* Source/WTF/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WTF/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations:
* Source/WTF/wtf/CanMakeWeakPtr.h:
(WTF::CanMakeWeakPtrBase::initializeWeakPtrFactory const):
* Source/WTF/wtf/GenericTimeMixin.h:
(WTF::GenericTimeMixin::approximate const):
* Source/WTF/wtf/JSONValues.cpp:
(WTF::JSONImpl::Value::visitDerived):
(WTF::JSONImpl::Value::visitDerived const):
* Source/WTF/wtf/JSONValues.h:
(WTF::JSONImpl::Value::asObject):
(WTF::JSONImpl::Value::asObject const):
(WTF::JSONImpl::Value::asArray):
* Source/WTF/wtf/MetaAllocator.h:
* Source/WTF/wtf/ReadWriteLock.h:
* Source/WTF/wtf/RefCounted.h:
(WTF::RefCounted::deref const):
* Source/WTF/wtf/ThreadSafeRefCounted.h:
(WTF::ThreadSafeRefCounted::deref const):
* Source/WTF/wtf/TypeCasts.h:
* Source/WTF/wtf/cocoa/LanguageCocoa.mm:
(WTF::overrideUserPreferredLanguages):
* Source/WTF/wtf/cocoa/URLCocoa.mm:
(WTF::makeVectorElement):
* Source/WTF/wtf/text/AtomString.h:
(WTF::String::toExistingAtomString const):
* Source/WTF/wtf/text/ExternalStringImpl.h:
(isType):
* Source/WTF/wtf/text/StringImpl.cpp:
(WTF::StringImpl::~StringImpl):
* Source/WTF/wtf/text/StringView.h:
(WTF::makeStringByReplacingAll):
(WTF::makeStringByReplacing):
* Source/WTF/wtf/text/SymbolImpl.h:
(isType):
(WTF::StringImpl::symbolAwareHash const):
(WTF::StringImpl::existingSymbolAwareHash const):
(WTF::SymbolImpl::symbolRegistry const):
(WTF::SymbolImpl::asRegisteredSymbolImpl):
* Source/WTF/wtf/text/WTFString.h:
(WTF::makeStringByReplacingAll):
* Source/WTF/wtf/text/cocoa/TextStreamCocoa.mm:
(WTF::TextStream::operator<<):
Canonical link: https://commits.webkit.org/323368@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications