Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b0aeb54667178d308d1a830a3320158db8e4d3e1
https://github.com/WebKit/WebKit/commit/b0aeb54667178d308d1a830a3320158db8e4d3e1
Author: Chris Dumez <[email protected]>
Date: 2026-09-29 (Tue, 29 Sep 2026)
Changed paths:
M Source/WTF/wtf/Atomics.h
M Source/WTF/wtf/BagToHashMap.h
M Source/WTF/wtf/BitSet.h
M Source/WTF/wtf/BitVector.h
M Source/WTF/wtf/BubbleSort.h
M Source/WTF/wtf/CompactVariant.h
M Source/WTF/wtf/CompactVariantOperations.h
M Source/WTF/wtf/Condition.h
M Source/WTF/wtf/CountingLock.h
M Source/WTF/wtf/DateMath.cpp
M Source/WTF/wtf/Deque.h
M Source/WTF/wtf/Dominators.h
M Source/WTF/wtf/EmbeddedFixedVector.h
M Source/WTF/wtf/EnumTraits.h
M Source/WTF/wtf/FastBitVector.h
M Source/WTF/wtf/FixedVector.h
M Source/WTF/wtf/HashCountedSet.h
M Source/WTF/wtf/InterferenceGraph.h
M Source/WTF/wtf/JSONValues.cpp
M Source/WTF/wtf/JSONValues.h
M Source/WTF/wtf/ListDump.h
M Source/WTF/wtf/Liveness.h
M Source/WTF/wtf/LoggingHashMap.h
M Source/WTF/wtf/MathExtras.h
M Source/WTF/wtf/MessageQueue.h
M Source/WTF/wtf/NativePromise.h
M Source/WTF/wtf/ParallelVectorIterator.h
M Source/WTF/wtf/ParkingLot.cpp
M Source/WTF/wtf/ParkingLot.h
M Source/WTF/wtf/RefCountDebugger.cpp
M Source/WTF/wtf/RefCountedFixedVector.h
M Source/WTF/wtf/SIMDHelpers.h
M Source/WTF/wtf/SSACalculator.h
M Source/WTF/wtf/SentinelLinkedList.h
M Source/WTF/wtf/SinglyLinkedListWithTail.h
M Source/WTF/wtf/SparseBitVector.h
M Source/WTF/wtf/Spectrum.h
M Source/WTF/wtf/StdLibExtras.h
M Source/WTF/wtf/ThreadMessage.cpp
M Source/WTF/wtf/ThreadMessage.h
M Source/WTF/wtf/ThreadSafeWeakHashSet.h
M Source/WTF/wtf/URLParser.cpp
M Source/WTF/wtf/URLParser.h
M Source/WTF/wtf/UUID.h
M Source/WTF/wtf/Variant.h
M Source/WTF/wtf/VariantList.h
M Source/WTF/wtf/VariantListOperations.h
M Source/WTF/wtf/Vector.h
M Source/WTF/wtf/WeakHashMap.h
M Source/WTF/wtf/WeakHashSet.h
M Source/WTF/wtf/WeakListHashSet.h
M Source/WTF/wtf/cf/VectorCF.h
M Source/WTF/wtf/cocoa/VectorCocoa.h
M Source/WTF/wtf/text/StringConcatenate.h
M Source/WTF/wtf/text/StringImpl.h
M Source/WTF/wtf/text/StringView.h
M Source/WTF/wtf/text/WTFString.h
M Source/WTF/wtf/win/FileSystemWin.cpp
M
Source/WebCore/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations
Log Message:
-----------
[WTF] Mark non-escaping lambda parameters as NOESCAPE
https://bugs.webkit.org/show_bug.cgi?id=325623
Reviewed by Ryosuke Niwa.
Annotate callable parameters that are only invoked synchronously and never
stored with NOESCAPE, so that safer-cpp's UncountedLambdaCapturesChecker no
longer requires call sites to protect variables captured by these lambdas.
Also take NOESCAPE callables by const reference instead of rvalue reference,
since they are not a transfer of ownership.
* Source/WTF/wtf/Atomics.h:
(WTF::Atomic::transaction):
(WTF::Atomic::transactionRelaxed):
(WTF::ensurePointer):
* Source/WTF/wtf/BagToHashMap.h:
(WTF::toHashMap):
* Source/WTF/wtf/BitSet.h:
(WTF::WordType>::forEachSetBit const):
* Source/WTF/wtf/BitVector.h:
(WTF::BitVector::forEachSetBit const):
* Source/WTF/wtf/BubbleSort.h:
(WTF::bubbleSort):
* Source/WTF/wtf/CompactVariant.h:
(WTF::CompactVariant::switchOn const):
* Source/WTF/wtf/CompactVariantOperations.h:
(WTF::CompactVariantOperations::payloadForData):
(WTF::CompactVariantOperations::constPayloadForData):
* Source/WTF/wtf/Condition.h:
* Source/WTF/wtf/CountingLock.h:
* Source/WTF/wtf/DateMath.cpp:
(WTF::safeStringToInteger):
* Source/WTF/wtf/Deque.h:
* Source/WTF/wtf/Dominators.h:
(WTF::Dominators::forAllStrictDominatorsOf const):
(WTF::Dominators::forAllDominatorsOf const):
(WTF::Dominators::forAllBlocksStrictlyDominatedBy const):
(WTF::Dominators::forAllBlocksDominatedBy const):
(WTF::Dominators::forAllBlocksInDominanceFrontierOf const):
(WTF::Dominators::forAllBlocksInIteratedDominanceFrontierOf):
(WTF::Dominators::forAllBlocksInPrunedIteratedDominanceFrontierOf):
(WTF::Dominators::forAllBlocksInDominanceFrontierOfImpl const):
(WTF::Dominators::forAllBlocksInIteratedDominanceFrontierOfImpl const):
* Source/WTF/wtf/EmbeddedFixedVector.h:
* Source/WTF/wtf/EnumTraits.h:
(WTF::EnumValues::forEach):
* Source/WTF/wtf/FastBitVector.h:
(WTF::FastBitVectorImpl::forEachSetBit const):
(WTF::FastBitVectorImpl::forEachClearBit const):
(WTF::FastBitVectorImpl::forEachBit const):
* Source/WTF/wtf/FixedVector.h:
(WTF::FixedVector::createWithSizeFromGenerator):
(WTF::FixedVector::createWithSizeFromFailableGenerator):
(WTF::FixedVector::map):
(WTF::map):
* Source/WTF/wtf/HashCountedSet.h:
(WTF::Traits>::removeAllIf):
* Source/WTF/wtf/InterferenceGraph.h:
(WTF::InterferenceBitVector::forEach):
(WTF::InterferenceVector::forEach):
(WTF::UndirectedEdgesDuplicatingAdapter::forEach):
(WTF::UndirectedEdgesDedupAdapter::forEach):
(WTF::InterferenceHashSet::forEach):
(WTF::InstrumentedInterferenceGraph::forEach):
* Source/WTF/wtf/JSONValues.cpp:
(WTF::JSONImpl::Value::visitDerived):
(WTF::JSONImpl::Value::visitDerived const):
* Source/WTF/wtf/JSONValues.h:
* Source/WTF/wtf/ListDump.h:
(WTF::sortedListDump):
(WTF::sortedMapDump):
* Source/WTF/wtf/Liveness.h:
(WTF::Liveness::Workset::forEachSetBit const):
(WTF::Liveness::forEachLiveAtHead):
(WTF::Liveness::forEachLiveAtTail):
(WTF::Liveness::forEachLiveAtHeadNotLiveAtTail):
(WTF::Liveness::forEachLiveAtTailNotLiveAtHead):
(WTF::Liveness::forEachInDense):
(WTF::Liveness::forEachInSparse):
(WTF::Liveness::forEachInDenseDifference):
(WTF::Liveness::forEachInSparseDifference):
* Source/WTF/wtf/LoggingHashMap.h:
* Source/WTF/wtf/MathExtras.h:
(WTF::shuffleVector):
* Source/WTF/wtf/MessageQueue.h:
(WTF::MessageQueue<DataType>::waitForMessageFilteredWithTimeout):
(WTF::MessageQueue<DataType>::removeIf):
* Source/WTF/wtf/NativePromise.h:
* Source/WTF/wtf/ParallelVectorIterator.h:
(WTF::ParallelVectorIterator::iterate):
* Source/WTF/wtf/ParkingLot.cpp:
(WTF::ParkingLot::parkConditionallyImpl):
(WTF::ParkingLot::unparkCountImpl):
(WTF::ParkingLot::forEachImpl):
* Source/WTF/wtf/ParkingLot.h:
(WTF::ParkingLot::parkConditionally):
(WTF::ParkingLot::unparkOne):
(WTF::ParkingLot::unparkCount):
(WTF::ParkingLot::forEach):
* Source/WTF/wtf/RefCountDebugger.cpp:
(WTF::RefLogSingleton::forEachLIFO):
* Source/WTF/wtf/RefCountedFixedVector.h:
* Source/WTF/wtf/SIMDHelpers.h:
(WTF::SIMD::find):
(WTF::SIMD::reverseFind):
(WTF::SIMD::findInterleaved):
(WTF::SIMD::count):
* Source/WTF/wtf/SSACalculator.h:
(WTF::SSACalculator::computePhis):
* Source/WTF/wtf/SentinelLinkedList.h:
(WTF::SentinelLinkedList::forEach):
* Source/WTF/wtf/SinglyLinkedListWithTail.h:
(WTF::SinglyLinkedListWithTail::append):
* Source/WTF/wtf/SparseBitVector.h:
(WTF::SparseBitVector::forEachSetBit const):
* Source/WTF/wtf/Spectrum.h:
(WTF::Spectrum::removeIf):
* Source/WTF/wtf/StdLibExtras.h:
(WTF::binarySearchImpl):
(WTF::switchOn):
(WTF::visitTupleElementAtIndex):
(WTF::apply_impl):
(WTF::forEachSetBit):
* Source/WTF/wtf/ThreadMessage.cpp:
(WTF::sendMessageScoped):
* Source/WTF/wtf/ThreadMessage.h:
(WTF::sendMessage):
* Source/WTF/wtf/ThreadSafeWeakHashSet.h:
* Source/WTF/wtf/URLParser.cpp:
(WTF::URLParser::percentDecodeImpl):
* Source/WTF/wtf/URLParser.h:
* Source/WTF/wtf/UUID.h:
(WTF::StringTypeAdapter<UUIDCanonicalForm>::handle const):
* Source/WTF/wtf/Variant.h:
(WTF::visit):
* Source/WTF/wtf/VariantList.h:
(WTF::inlineCapacity>::forEach const):
* Source/WTF/wtf/VariantListOperations.h:
(WTF::VariantListOperations<V>::visitValue):
(WTF::VariantListProxy::switchOn const):
* Source/WTF/wtf/Vector.h:
(WTF::removeRepeatedElements):
(WTF::Mapper::map):
(WTF::map):
(WTF::compactMap):
(WTF::FlatMapper::flatMap):
(WTF::flatMap):
* Source/WTF/wtf/WeakHashMap.h:
* Source/WTF/wtf/WeakHashSet.h:
* Source/WTF/wtf/WeakListHashSet.h:
* Source/WTF/wtf/cf/VectorCF.h:
(WTF::createCFArray):
(WTF::makeVector):
* Source/WTF/wtf/cocoa/VectorCocoa.h:
(WTF::createNSArray):
(WTF::makeVector):
* Source/WTF/wtf/text/StringConcatenate.h:
(WTF::handleWithAdapters):
* Source/WTF/wtf/text/StringImpl.h:
(WTF::find):
(WTF::StringImpl::removeCharactersImpl):
(WTF::StringImpl::removeCharacters):
* Source/WTF/wtf/text/StringView.h:
(WTF::StringView::contains const):
(WTF::StringView::find const):
(WTF::StringView::trim const):
(WTF::StringView::tryGetUTF8 const):
* Source/WTF/wtf/text/WTFString.h:
(WTF::String::removeCharacters const):
* Source/WTF/wtf/win/FileSystemWin.cpp:
(WTF::FileSystemImpl::generateTemporaryPath):
Canonical link: https://commits.webkit.org/322217@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications