Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a92bc6cb0dcc1caa2894b2efeef80238032f28a8
      
https://github.com/WebKit/WebKit/commit/a92bc6cb0dcc1caa2894b2efeef80238032f28a8
  Author: David Kilzer <[email protected]>
  Date:   2026-01-12 (Mon, 12 Jan 2026)

  Changed paths:
    M Source/JavaScriptCore/API/OpaqueJSString.cpp
    M Source/JavaScriptCore/debugger/DebuggerScope.h
    M Source/JavaScriptCore/runtime/ArrayBuffer.h
    M Source/JavaScriptCore/runtime/CachePayload.cpp
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyArrayInlines.h
    M Source/WTF/wtf/Deque.h
    M Source/WTF/wtf/HashCountedSet.h
    M Source/WTF/wtf/HashMap.h
    M Source/WTF/wtf/HashSet.h
    M Source/WTF/wtf/HashTable.h
    M Source/WTF/wtf/IndexSparseSet.h
    M Source/WTF/wtf/JSONValues.h
    M Source/WTF/wtf/ListHashSet.h
    M Source/WTF/wtf/RobinHoodHashTable.h
    M Source/WTF/wtf/SentinelLinkedList.h
    M Source/WTF/wtf/URL.cpp
    M Source/WTF/wtf/URLParser.cpp
    M Source/WTF/wtf/dtoa.cpp
    M Source/WTF/wtf/text/CString.cpp
    M Source/WTF/wtf/text/CString.h
    M Source/WTF/wtf/text/StringBuilder.h
    M Source/WTF/wtf/text/StringImpl.h
    M Source/WTF/wtf/text/StringView.cpp
    M Source/WTF/wtf/text/StringView.h
    M Source/WTF/wtf/text/WTFString.h
    M Source/WebCore/Modules/indexeddb/server/IndexValueEntry.cpp
    M Source/WebCore/Modules/mediasource/SampleMap.cpp
    M Source/WebCore/Modules/webaudio/AudioBuffer.cpp
    M Source/WebCore/Modules/webaudio/AudioNodeInput.cpp
    M Source/WebCore/Modules/webaudio/AudioNodeOutput.cpp
    M Source/WebCore/PAL/pal/text/TextCodec.cpp
    M Source/WebCore/css/CSSValueList.h
    M Source/WebCore/css/StylePropertiesInlines.h
    M Source/WebCore/css/calc/CSSCalcTree.h
    M Source/WebCore/css/parser/CSSParserTokenRange.cpp
    M Source/WebCore/css/parser/CSSTokenizer.cpp
    M Source/WebCore/dom/ElementData.h
    M Source/WebCore/editing/TextCheckingHelper.cpp
    M Source/WebCore/editing/TextIterator.cpp
    M Source/WebCore/html/canvas/WebGLProgram.cpp
    M Source/WebCore/html/track/TextTrack.cpp
    M Source/WebCore/platform/ShareableResource.cpp
    M Source/WebCore/platform/SharedBuffer.cpp
    M Source/WebCore/platform/graphics/Region.cpp
    M Source/WebCore/platform/graphics/ShareableBitmap.cpp
    M Source/WebCore/platform/graphics/transforms/AffineTransform.h
    M Source/WebCore/platform/network/HTTPParsers.cpp
    M Source/WebCore/platform/sql/SQLiteStatement.cpp
    M Source/WebCore/style/calc/StyleCalculationTree.h
    M Source/WebKit/NetworkProcess/NetworkResourceLoadMap.cpp
    M Source/WebKit/NetworkProcess/cache/NetworkCacheDataCocoa.mm
    M Source/WebKit/Platform/IPC/SharedBufferReference.cpp
    M Source/WebKit/Platform/IPC/TransferString.cpp

  Log Message:
  -----------
  Apply LIFETIME_BOUND attribute consistently on both declaration and 
definition of methods
<https://bugs.webkit.org/show_bug.cgi?id=305278>
<rdar://167920705>

Reviewed by Geoffrey Garen.

Apply LIFETIMEBOUND attribute consistently to both declaration and
definition of each function.

This works around a bug in clang where the attribute is ignored in
certain cases: <https://github.com/llvm/llvm-project/issues/175391>

* Source/JavaScriptCore/API/OpaqueJSString.cpp:
(OpaqueJSString::characters):
* Source/JavaScriptCore/debugger/DebuggerScope.h:
(JSC::DebuggerScope::begin):
(JSC::DebuggerScope::end):
* Source/JavaScriptCore/runtime/ArrayBuffer.h:
(JSC::ArrayBuffer::data):
(JSC::ArrayBuffer::data const):
(JSC::ArrayBuffer::dataWithoutPACValidation):
(JSC::ArrayBuffer::dataWithoutPACValidation const):
* Source/JavaScriptCore/runtime/CachePayload.cpp:
(JSC::CachePayload::span const):
* Source/JavaScriptCore/wasm/js/JSWebAssemblyArrayInlines.h:
(JSC::JSWebAssemblyArray::span):
(JSC::JSWebAssemblyArray::refTypeSpan):
* Source/WTF/wtf/Deque.h:
(WTF::inlineCapacity>::findIf):
(WTF::inlineCapacity>::findIf const):
* Source/WTF/wtf/HashCountedSet.h:
(WTF:: const):
(WTF::Traits>::begin):
(WTF::Traits>::end):
(WTF::Traits>::begin const):
(WTF::Traits>::end const):
(WTF::Traits>::values):
(WTF::Traits>::values const const):
(WTF::Traits>::find):
(WTF::Traits>::find const):
(WTF::Traits>::add):
* Source/WTF/wtf/HashMap.h:
(WTF::M>::begin):
(WTF::M>::end):
(WTF::M>::begin const):
(WTF::M>::end const):
(WTF::M>::find):
(WTF::M>::find const):
(WTF::M>::set):
(WTF::M>::ensure):
(WTF::M>::add):
(WTF::M>::fastAdd):
* Source/WTF/wtf/HashSet.h:
(WTF::shouldValidateKey>::begin const):
(WTF::shouldValidateKey>::end const):
(WTF::shouldValidateKey>::find const):
(WTF::shouldValidateKey>::ensure):
* Source/WTF/wtf/HashTable.h:
(WTF::Malloc>::add):
(WTF::Malloc>::addPassingHashCode):
(WTF::Malloc>::find):
(WTF::Malloc>::find const):
* Source/WTF/wtf/IndexSparseSet.h:
(WTF::OverflowHandler>::begin const):
(WTF::OverflowHandler>::end const):
* Source/WTF/wtf/JSONValues.h:
(WTF::JSONImpl::ObjectBase::find):
(WTF::JSONImpl::ObjectBase::find const):
* Source/WTF/wtf/ListHashSet.h:
(WTF::U>::first):
(WTF::U>::first const):
(WTF::U>::last):
(WTF::U>::last const):
(WTF::U>::find):
(WTF::U>::find const):
(WTF::U>::add):
(WTF::U>::appendOrMoveToLast):
(WTF::U>::prependOrMoveToFirst):
(WTF::U>::insertBefore):
* Source/WTF/wtf/RobinHoodHashTable.h:
(WTF::Malloc>::add):
(WTF::Malloc>::addPassingHashCode):
(WTF::Malloc>::find):
(WTF::Malloc>::find const):
* Source/WTF/wtf/SentinelLinkedList.h:
(WTF::RawNode>::begin):
(WTF::RawNode>::end):
(WTF::RawNode>::begin const):
(WTF::RawNode>::end const):
* Source/WTF/wtf/URL.cpp:
(WTF::URL::lastPathComponent const):
(WTF::URL::protocol const):
(WTF::URL::host const):
(WTF::URL::encodedUser const):
(WTF::URL::encodedPassword const):
(WTF::URL::fragmentIdentifier const):
(WTF::URL::query const):
(WTF::URL::path const):
(WTF::URL::viewWithoutQueryOrFragmentIdentifier const):
(WTF::URL::viewWithoutFragmentIdentifier const):
(WTF::URL::queryWithLeadingQuestionMark const):
(WTF::URL::fragmentIdentifierWithLeadingNumberSign const):
* Source/WTF/wtf/URLParser.cpp:
* Source/WTF/wtf/dtoa.cpp:
(WTF::numberToStringAndSize):
(WTF::numberToStringWithTrailingPoint):
(WTF::numberToFixedPrecisionString):
(WTF::numberToFixedWidthString):
(WTF::numberToCSSString):
* Source/WTF/wtf/text/CString.cpp:
(WTF::CString::mutableSpan):
(WTF::CString::mutableSpanIncludingNullTerminator):
* Source/WTF/wtf/text/CString.h:
(WTF::CString::data const):
(WTF::CString::span const):
(WTF::CString::spanIncludingNullTerminator const):
* Source/WTF/wtf/text/StringBuilder.h:
(WTF::StringBuilder::operator StringView const):
(WTF::StringBuilder::toString):
(WTF::StringBuilder::toStringPreserveCapacity const):
(WTF::StringBuilder::span const):
* Source/WTF/wtf/text/StringImpl.h:
(WTF::StringImpl::span<Latin1Character> const):
(WTF::StringImpl::span<char16_t> const):
* Source/WTF/wtf/text/StringView.cpp:
(WTF::StringView::GraphemeClusters::Iterator::Iterator):
* Source/WTF/wtf/text/StringView.h:
(WTF::StringView::StringView):
(WTF::StringView::GraphemeClusters::GraphemeClusters):
(WTF::StringView::CodePoints::CodePoints):
(WTF::StringView::CodePoints::Iterator::Iterator):
(WTF::StringView::CodeUnits::CodeUnits):
(WTF::StringView::CodeUnits::Iterator::Iterator):
(WTF::StringView::SplitResult::SplitResult):
(WTF::StringView::span8 const):
(WTF::StringView::span16 const):
(WTF::StringView::span<Latin1Character> const):
(WTF::StringView::span<char16_t> const):
(WTF::StringView::GraphemeClusters::begin const):
(WTF::StringView::GraphemeClusters::end const):
(WTF::StringView::CodePoints::begin const):
(WTF::StringView::CodePoints::end const):
(WTF::StringView::CodePoints::codePointAt const):
(WTF::StringView::CodeUnits::begin const):
(WTF::StringView::CodeUnits::end const):
(WTF::StringView::SplitResult::begin const):
(WTF::StringView::SplitResult::end const):
* Source/WTF/wtf/text/WTFString.h:
(WTF::String::span<Latin1Character> const):
(WTF::String::span<char16_t> const):
* Source/WebCore/Modules/indexeddb/server/IndexValueEntry.cpp:
(WebCore::IDBServer::IndexValueEntry::getLowest const):
(WebCore::IDBServer::IndexValueEntry::begin):
(WebCore::IDBServer::IndexValueEntry::reverseBegin):
(WebCore::IDBServer::IndexValueEntry::find):
(WebCore::IDBServer::IndexValueEntry::reverseFind):
* Source/WebCore/Modules/mediasource/SampleMap.cpp:
(WebCore::PresentationOrderSampleMap::findSampleWithPresentationTime):
(WebCore::PresentationOrderSampleMap::findSampleContainingPresentationTime):
(WebCore::PresentationOrderSampleMap::findSampleContainingOrAfterPresentationTime):
(WebCore::PresentationOrderSampleMap::findSampleStartingOnOrAfterPresentationTime):
(WebCore::PresentationOrderSampleMap::findSampleStartingAfterPresentationTime):
(WebCore::DecodeOrderSampleMap::findSampleWithDecodeKey):
(WebCore::DecodeOrderSampleMap::findSampleAfterDecodeKey):
(WebCore::PresentationOrderSampleMap::reverseFindSampleContainingPresentationTime):
(WebCore::PresentationOrderSampleMap::reverseFindSampleBeforePresentationTime):
(WebCore::DecodeOrderSampleMap::reverseFindSampleWithDecodeKey):
(WebCore::DecodeOrderSampleMap::findSyncSamplePriorToPresentationTime):
(WebCore::DecodeOrderSampleMap::findSyncSamplePriorToDecodeIterator):
(WebCore::DecodeOrderSampleMap::findSyncSampleAfterPresentationTime):
(WebCore::DecodeOrderSampleMap::findSyncSamplePriorToDecodeKey):
(WebCore::DecodeOrderSampleMap::findSyncSampleAfterDecodeIterator):
(WebCore::PresentationOrderSampleMap::findSamplesBetweenPresentationTimes):
(WebCore::PresentationOrderSampleMap::findSamplesBetweenPresentationTimesFromEnd):
(WebCore::DecodeOrderSampleMap::findDependentSamples):
* Source/WebCore/Modules/webaudio/AudioBuffer.cpp:
(WebCore::AudioBuffer::rawChannelData):
* Source/WebCore/Modules/webaudio/AudioNodeInput.cpp:
(WebCore::AudioNodeInput::bus):
* Source/WebCore/Modules/webaudio/AudioNodeOutput.cpp:
(WebCore::AudioNodeOutput::bus const):
* Source/WebCore/PAL/pal/text/TextCodec.cpp:
(PAL::TextCodec::getUnencodableReplacement):
* Source/WebCore/css/CSSValueList.h:
(WebCore::CSSValueContainingVector::operator[] const):
* Source/WebCore/css/StylePropertiesInlines.h:
(WebCore::StyleProperties::propertyAt const):
* Source/WebCore/css/calc/CSSCalcTree.h:
(WebCore::CSSCalc::Children::begin):
(WebCore::CSSCalc::Children::end):
(WebCore::CSSCalc::Children::rbegin):
(WebCore::CSSCalc::Children::rend):
(WebCore::CSSCalc::Children::begin const):
(WebCore::CSSCalc::Children::end const):
(WebCore::CSSCalc::Children::rbegin const):
(WebCore::CSSCalc::Children::rend const):
(WebCore::CSSCalc::Children::operator[]):
(WebCore::CSSCalc::Children::operator[] const):
* Source/WebCore/css/parser/CSSParserTokenRange.cpp:
(WebCore::CSSParserTokenRange::consumeLast):
* Source/WebCore/css/parser/CSSTokenizer.cpp:
(WebCore::CSSTokenizer::tokenRange const):
* Source/WebCore/dom/ElementData.h:
(WebCore::ElementData::attributes const):
* Source/WebCore/editing/TextCheckingHelper.cpp:
(WebCore::TextCheckingParagraph::text const):
* Source/WebCore/editing/TextIterator.cpp:
(WebCore::WordAwareIterator::text const):
* Source/WebCore/html/canvas/WebGLProgram.cpp:
(WebCore::WebGLProgram::activeAttribs):
(WebCore::WebGLProgram::attribLocations):
(WebCore::WebGLProgram::uniformLocations):
(WebCore::WebGLProgram::uniformIndices):
* Source/WebCore/html/track/TextTrack.cpp:
(WebCore::TextTrack::activeCues const):
* Source/WebCore/platform/ShareableResource.cpp:
(WebCore::ShareableResource::span const):
* Source/WebCore/platform/SharedBuffer.cpp:
(WebCore::DataSegment::span const):
* Source/WebCore/platform/graphics/Region.cpp:
(WebCore::Region::Shape::segments const):
* Source/WebCore/platform/graphics/ShareableBitmap.cpp:
(WebCore::ShareableBitmap::span const):
(WebCore::ShareableBitmap::mutableSpan):
* Source/WebCore/platform/graphics/transforms/AffineTransform.h:
(WebCore::AffineTransform::span const):
* Source/WebCore/platform/network/HTTPParsers.cpp:
(WebCore::filenameFromHTTPContentDisposition):
(WebCore::extractCharsetFromMediaType):
* Source/WebCore/platform/sql/SQLiteStatement.cpp:
(WebCore::SQLiteStatement::columnBlobAsSpan):
* Source/WebCore/style/calc/StyleCalculationTree.h:
(WebCore::Style::Calculation::Children::begin):
(WebCore::Style::Calculation::Children::end):
(WebCore::Style::Calculation::Children::rbegin):
(WebCore::Style::Calculation::Children::rend):
(WebCore::Style::Calculation::Children::begin const):
(WebCore::Style::Calculation::Children::end const):
(WebCore::Style::Calculation::Children::rbegin const):
(WebCore::Style::Calculation::Children::rend const):
(WebCore::Style::Calculation::Children::operator[]):
(WebCore::Style::Calculation::Children::operator[] const):
* Source/WebKit/NetworkProcess/NetworkResourceLoadMap.cpp:
(WebKit::NetworkResourceLoadMap::add):
(WebKit::NetworkResourceLoadMap::get const):
* Source/WebKit/NetworkProcess/cache/NetworkCacheDataCocoa.mm:
(WebKit::NetworkCache::Data::span const):
* Source/WebKit/Platform/IPC/SharedBufferReference.cpp:
(IPC::SharedBufferReference::span const):
* Source/WebKit/Platform/IPC/TransferString.cpp:
(IPC::TransferString::toIPCData const):

Canonical link: https://commits.webkit.org/305483@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to