Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Configurations/CommonBase.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ WK_SWIFT_MEMORY_SAFETY_FLAGS_[sdk=iphone*26.0*] = -Werror StrictMemorySafety $(i
WK_SWIFT_MEMORY_SAFETY_FLAGS_[sdk=iphone*26.1*] = -Werror StrictMemorySafety $(inherited);
WK_SWIFT_MEMORY_SAFETY_FLAGS_[sdk=iphone*26.2*] = -Werror StrictMemorySafety $(inherited);

OTHER_SWIFT_FLAGS = $(inherited) $(WK_SWIFT_MEMORY_SAFETY_FLAGS);
OTHER_SWIFT_FLAGS = $(inherited) $(WK_SWIFT_MEMORY_SAFETY_FLAGS) -clang-target arm64e-apple-macos26.4;

OTHER_LIBTOOLFLAGS = -no_warning_for_no_symbols;
2 changes: 1 addition & 1 deletion Source/WTF/wtf/WeakPtr.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ template<typename T, typename WeakPtrImpl, typename PtrTraits> class WeakPtr {

RefPtr<WeakPtrImpl, PtrTraits> releaseImpl() { return WTF::move(m_impl); }

T* get() const
T* get() const SWIFT_RETURNS_UNRETAINED
{
static_assert(
HasRefPtrMemberFunctions<T>::value || HasCheckedPtrMemberFunctions<T>::value || IsDeprecatedWeakRefSmartPointerException<std::remove_cv_t<T>>::value,
Expand Down
4 changes: 2 additions & 2 deletions Source/WebKit/UIProcess/StdlibExtras.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
// THE POSSIBILITY OF SUCH DAMAGE.

#if compiler(>=6.2)
#if compiler(>=6.2.3)

// FIXME (rdar://164119356): Move parts of StdLibExtras.swift into WTF
// (those parts which are not specific to WebKit-level types) - and enable
Expand Down Expand Up @@ -121,4 +121,4 @@ struct CxxRefVectorIterator<Vec: CxxRefVector>: Sequence, IteratorProtocol {

#endif // ENABLE_BACK_FORWARD_LIST_SWIFT

#endif // compiler(>=6.2)
#endif // compiler(>=6.2.3)
Loading