Egor Zhdan
6f0ab5dce8
Merge pull request #83914 from egorzhdan/egorzhdan/guiddef
...
[WinSDK] Modularize `<guiddef.h>`
2025-09-09 16:24:23 +01:00
Guillaume Lessard
77f7f42545
Merge pull request #83980 from glessard/rdar159026055-implementation-guard
...
[test] adjust backdeployment testing for bridged arrays
2025-09-02 11:15:21 -07:00
Stephen Canon
534690b1da
Don't run this test in backdeployed / host stdlib configs ( #83958 )
...
libswiftOSLogTestHelper is built with add_swift_target_library, which is
used for runtime components, and we only support building those for
13.0+. These back-deploy bots are meant to test against the OS's
libraries, since that's what's actually used when back-deploying, but
that's not right for this library.
resolves rdar://159026163
2025-09-02 13:31:23 -04:00
Yuta Saito
3f96cef3a4
[wasm] Add support for __builtin_va_list type mapping ( #84029 )
...
Cover all va_list family of types just aliased by __builtin_va_list, including __isoc_va_list from wasi-libc. This enables proper C interop for variable argument functions on WASI targets.
Close https://github.com/swiftlang/swift/issues/72398
2025-09-02 14:36:33 +01:00
Egor Zhdan
28f9db7bfa
[WinSDK] Modularize <guiddef.h>
...
This fixes modularization errors that arise when importing a C++ header that contains `#include <guiddef.h>`, which might hijack this header from the WinSDK module where it belongs.
2025-08-28 22:21:55 +01:00
Guillaume Lessard
833ed3c662
[test] adjust backdeployment testing
2025-08-28 10:37:07 -07:00
Doug Gregor
3782db5ce1
Small fixes for typed throws in withUnsafeTemporaryAllocation
2025-08-26 17:09:07 -07:00
Doug Gregor
e96e1746bb
Adopt typed throws in withUnsafeTemporaryAllocation
...
The interior wrapping in Result<T, U> is a little unfortunate, but is
currently necessary because we end up with extra stack allocations
along the error-handling path in a do..catch that aren't there when
using untyped throws. We can simplify the implementation if we can
eliminate the extraneous stack allocation.
Fixes rdar://134973620.
2025-08-26 13:06:48 -07:00
Guillaume Lessard
c9a3fdf722
Merge pull request #83771 from glessard/rdar158440246
2025-08-16 02:40:16 -07:00
Guillaume Lessard
42337d3724
[test] removeAll() from an empty OutputSpan
2025-08-15 17:24:06 -07:00
Mykola Pokhylets
89f8f8b9bf
Wrap only changes related to the closure frontend logic
2025-08-02 20:24:46 +02:00
Mykola Pokhylets
ae48446716
Wrap SE-0481 into an upcoming feature until source incompatibilities are resolved
2025-08-02 20:24:21 +02:00
Allan Shortlidge
1d9e085197
AST: Re-baseline NonescapableTypes feature.
2025-07-31 10:21:55 -07:00
Tim Kientzle
93ec88c1c1
Merge pull request #80089 from rjmansfield/printfloat-locale-import
...
[test] Import locale modules explicitly in PrintFloat.swift.gyb.
2025-07-29 16:18:40 -07:00
David Smith
cee927e2d5
Fix lengthOfBytes(using:) semantics ( #83334 )
...
Fixes rdar://156675395
2025-07-25 16:29:45 -07:00
David Smith
a5e6b8556a
Make sure SwiftObject doesn't crash when compared to tagged pointers ( #83269 )
...
Fixes rdar://152912840
2025-07-24 17:31:01 -07:00
Max Desiatov
ed6aa8f8d5
XFAIL: CPU=wasm32 in simd_diagnostics.swift
2025-07-23 12:43:13 +01:00
Max Desiatov
67c4be0ac2
Update tests for wasi -> wasip1 triple change
...
Fixes a regression introduced with https://github.com/swiftlang/swift/pull/83167
2025-07-23 10:10:47 +01:00
Stephen Canon
ee9b38ca22
Use an explicit unsigned comparison for span index checks ( #83150 )
...
LLVM ought to be able to do this transformation for us, but it currently fails to do so. We can code around it easily enough. https://github.com/swiftlang/swift/pull/83172 has a better long-term fix.
2025-07-21 16:06:17 -04:00
Guillaume Lessard
b72c4422b8
Merge pull request #81637 from glessard/rdar147780495-OutputSpan-updates
...
[SE-0485] OutputSpan and OutputRawSpan
2025-07-17 14:14:52 -07:00
Guillaume Lessard
2e0c0fea7c
[test] OutputRawSpan tests
2025-07-16 17:15:27 -07:00
Andrew Sukach
4cf7940226
Add missing symbols for Fedora 41
2025-07-16 08:20:34 -07:00
Guillaume Lessard
2689ef31e1
Merge pull request #82959 from glessard/rdar155474776-extracting
...
[stdlib] Implementation for SE-0488
2025-07-15 13:59:00 -07:00
Guillaume Lessard
51eebe1836
[test] fix test of InlineArray initializer
2025-07-14 23:04:49 -07:00
Guillaume Lessard
fa87b3b944
[stdlib] remove bulk-update from MutableRawSpan per SE-0485
2025-07-14 23:04:49 -07:00
Guillaume Lessard
923a6e5292
[stdlib] remove bulk-update from MutableSpan per SE-0485
2025-07-14 23:04:48 -07:00
Guillaume Lessard
97a0bd743a
[stdlib] rename MutableRawSpan.extracting functions
2025-07-14 23:04:48 -07:00
Guillaume Lessard
6439a32997
[stdlib] rename MutableSpan.extracting functions
2025-07-14 23:04:48 -07:00
Guillaume Lessard
5f5e6b68c9
[stdlib] make OutputSpan changes from SE-0485
2025-07-14 23:04:47 -07:00
Guillaume Lessard
5895a64d52
[test] simplify OutputSpan-InlineArray test
2025-07-14 23:04:47 -07:00
Guillaume Lessard
733a261b28
[stdlib] InlineArray consumed by OutputSpan
2025-07-14 23:04:46 -07:00
Guillaume Lessard
1d776a6b06
[stdlib] in-place initializer for InlineArray
2025-07-14 23:04:46 -07:00
Guillaume Lessard
f50ae1b499
[test] OutputSpan tests
2025-07-14 23:04:46 -07:00
Guillaume Lessard
1e3d26f8a6
[stdlib] rename RawSpan.extracting functions
2025-07-09 17:36:35 -07:00
Guillaume Lessard
dd833569e0
[stdlib] rename Span.extracting functions
2025-07-09 17:25:27 -07:00
Guillaume Lessard
7e2697276a
Merge pull request #82851 from glessard/rdar154331399-makeReallyContiguous
...
[stdlib] Make String.makeContiguousUTF8() strictly true
2025-07-09 08:11:30 -07:00
Guillaume Lessard
3dfdd87097
[test] small string compatibility for 32-bit targets
2025-07-08 13:58:00 -07:00
Guillaume Lessard
fe6a8fac39
Merge pull request #82866 from glessard/rdar155275054-default-inits-allspans
...
[stdlib] Default initializers for Span-family types
2025-07-08 09:46:14 -07:00
Guillaume Lessard
368f54771a
[test] immortal no-parameter Span initializers
2025-07-07 18:06:49 -07:00
Guillaume Lessard
987fedf46a
[stdlibUnittest] generalize expectNil(_:)
2025-07-01 15:16:49 -07:00
Guillaume Lessard
db664fbff4
[test] shorten a 32-bit small string (sometimes)
2025-06-26 13:18:57 -07:00
Guillaume Lessard
044e53f3b2
[test] adjust String span tests
2025-06-23 18:38:33 -07:00
michael-yuji
cf2f7154a5
Merge pull request #77836 from michael-yuji/mchiu/freebsd
...
[FreeBSD] Adding FreeBSD support
2025-06-18 19:59:48 -07:00
(null)
aaf283258b
Merge branch 'main' into mchiu/freebsd
2025-06-17 15:41:57 -04:00
(null)
d6811260a9
Merge commit '665515c781999a81094bbe4f8302a7cb1a6a6b39' into mchiu/freebsd
2025-06-17 15:12:23 -04:00
Guillaume Lessard
0433cd292c
[stdlib] add UMBP.mutableSpan accessor
2025-06-16 22:28:21 -07:00
Guillaume Lessard
f952ca5988
[stdlib] add URMBP.mutableBytes accessor
2025-06-16 22:28:21 -07:00
Stephen Canon
bf558a376a
Further relax concrete simd ir tests ( #82242 )
...
It turns out that on some targets we generate a call to initialize a
SIMD vector from a Builtin.Vec, even though everything is transparent,
so the checks for the return using a specific value were too fragile.
rdar://153260158
2025-06-16 20:16:05 -04:00
Stephen Canon
b67050b61d
SIMD test IR not ASM ( #82078 )
2025-06-12 14:38:04 -07:00
Ryan Mansfield
daba9b6514
[test] Import locale modules explicitly in PrintFloat.swift.gyb.
...
Darwin module is being split up and will eventually stop importing
locale APIs.
2025-06-12 14:36:24 -04:00