This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.
DougGregor/swift-concurrency-objc 10
Swift Concurrency Translation of Objective-C APIs for iOS, macOS, tvOS, and watchOS
The Swift Programming Language
The Swift Programming Language
Mirror of official clang git repository located at http://llvm.org/git/clang. Updated every five minutes.
DougGregor/swift-corelibs-libdispatch 0
The libdispatch Project, (a.k.a. Grand Central Dispatch), for concurrency on multicore hardware
DougGregor/swift-corelibs-xctest 0
The XCTest Project, A Swift core library for providing unit test support
pull request commentapple/swift
[SILGen] Enable alternative entry point name.
Build failed Swift Test Linux Platform Git Sha - 652c26ca9fbcbc19769b880d7fb08ecda57e6887
comment created time in a few seconds
pull request commentapple/swift
[ast] Enable the ASTVerifier behind the enable-ast-verifier flag in no-asserts builds.
Build failed Swift Test OS X Platform Git Sha - 1de2d3f7c07914e640f480aa85e31cf89ade2935
comment created time in 10 minutes
push eventapple/swift
commit sha 5b64ef81840eb8b6ffd768d412ac442bf5d1c514
Sema: Remove a bit of dead code in DerivedConformanceDifferentiable.cpp
commit sha f55f290a47f3be25f02521aaaeea4dbe258541ad
Merge pull request #35594 from slavapestov/squash-dead-code-warning Sema: Remove a bit of dead code in DerivedConformanceDifferentiable.cpp
commit sha aa4df86c7cc8fa77ea5b50312e09f4e00d0d5de2
Merge remote-tracking branch 'origin/main' into rebranch
push time in an hour
push eventapple/swift
commit sha 5b64ef81840eb8b6ffd768d412ac442bf5d1c514
Sema: Remove a bit of dead code in DerivedConformanceDifferentiable.cpp
commit sha f55f290a47f3be25f02521aaaeea4dbe258541ad
Merge pull request #35594 from slavapestov/squash-dead-code-warning Sema: Remove a bit of dead code in DerivedConformanceDifferentiable.cpp
push time in an hour
pull request commentapple/swift
Fix SILInstruction::mayRelease to handle unmanaged_release_value.
@swift-ci test
comment created time in an hour
PR opened apple/swift
Apparently this API was never called from any OSSA passes.
Fixes rdar://73507733 ([SR-14090]: [Source Compat] swift-futures 5.1 fails to build from main branch)
pr created time in an hour
pull request commentapple/swift
[SILGen] Enable alternative entry point name.
@swift-ci please asan test
comment created time in an hour
pull request commentapple/swift
[SILGen] Enable alternative entry point name.
@swift-ci please clean test
comment created time in an hour
push eventapple/swift
commit sha 4f740a4784586484bf16fc69c1d742daa71520f6
Concurrency: support draining the main queue in single threaded mode When built in single threaded mode, the runtime does not use dispatch to queue the tasks. As a result, pumping the dispatch main queue will simply wait indefinitely. In the single threaded mode, simply halt execution and drain all pending tasks before returning. This allows forward progress in the single threaded mode.
commit sha 62f90501580f2aede9260b93c4bb41d0ffa08955
Merge pull request #35584 from compnerd/single-threaded-drain Concurrency: support draining the main queue in single threaded mode
commit sha 321b08a64fb40dea589170c03098c829a60cba4d
Merge remote-tracking branch 'origin/main' into rebranch
push time in 2 hours
pull request commentapple/swift
Concurrency: avoid `CFRunLoopRun` on non-Darwin
@swift-ci please test macOS platform
comment created time in 2 hours
Pull request review commentapple/swift
[SILGen] Enable alternative entry point name.
ASTContext::SILTransformCtors ASTContext::getIRGenSILTransforms() const { return passes; } +std::string ASTContext::getEntryPointFunctionName() const {+ std::string name;
Minor option for simplification:
if (auto name = LangOpts.entryPointFunctionName)
return name.getValue();
return "main";
comment created time in 2 hours
push eventapple/swift
commit sha 4f740a4784586484bf16fc69c1d742daa71520f6
Concurrency: support draining the main queue in single threaded mode When built in single threaded mode, the runtime does not use dispatch to queue the tasks. As a result, pumping the dispatch main queue will simply wait indefinitely. In the single threaded mode, simply halt execution and drain all pending tasks before returning. This allows forward progress in the single threaded mode.
commit sha 62f90501580f2aede9260b93c4bb41d0ffa08955
Merge pull request #35584 from compnerd/single-threaded-drain Concurrency: support draining the main queue in single threaded mode
push time in 2 hours
PR merged apple/swift
When built in single threaded mode, the runtime does not use dispatch to queue the tasks. As a result, pumping the dispatch main queue will simply wait indefinitely. In the single threaded mode, simply halt execution and drain all pending tasks before returning. This allows forward progress in the single threaded mode.
<!-- What's in this pull request? --> Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.
<!-- If this pull request resolves any bugs in the Swift bug tracker, provide a link: --> Resolves SR-NNNN.
<!-- Before merging this pull request, you must run the Swift continuous integration tests. For information about triggering CI builds via @swift-ci, see: https://github.com/apple/swift/blob/master/docs/ContinuousIntegration.md#swift-ci
Thank you for your contribution to Swift! -->
pr closed time in 2 hours
pull request commentapple/swift
[SILGen] Enable alternative entry point name.
Build failed Swift Test Linux Platform Git Sha - e552c1521f325208bbe45803068e5e80394539e1
comment created time in 2 hours
pull request commentapple/swift
[cxx-interop] Re-implement namespaces using enums + extensions.
@swift-ci please smoke test Windows.
comment created time in 2 hours
push eventapple/swift
commit sha c63a1c0bdf5d39d133f2f0b4420e8d2e404a1437
Use erasePhiArgument instead of eraseArgument in DCE Fixes rdar://73500476
commit sha 45e210bc2f55d04a1e6ad766816943cb59d1c617
Merge pull request #35591 from meg-gupta/fixdcebug Use erasePhiArgument instead of eraseArgument in DCE
commit sha 46b618e7af2fda61a2625fc2dc4f329faeeb6a9d
Merge remote-tracking branch 'origin/main' into rebranch
push time in 2 hours
push eventapple/swift
commit sha c63a1c0bdf5d39d133f2f0b4420e8d2e404a1437
Use erasePhiArgument instead of eraseArgument in DCE Fixes rdar://73500476
commit sha 45e210bc2f55d04a1e6ad766816943cb59d1c617
Merge pull request #35591 from meg-gupta/fixdcebug Use erasePhiArgument instead of eraseArgument in DCE
push time in 2 hours
PR merged apple/swift
Fixes rdar://73500476
There could be iterator invalidation while deleting edge values. Use api erasePhiArgument
which correctly deletes phi arguments.
pr closed time in 2 hours
pull request commentapple/swift
[build-script] Add swift-disable-dead-stripping option for disabling dead stripping
Couple of Python test failures:
******************** TEST 'Swift(macosx-x86_64) :: Python/build_swift.swift' FAILED ********************
Script:
--
: 'RUN: at line 10'; /Applications/Xcode.app/Contents/Developer/usr/bin/python3 /Users/buildnode/jenkins/workspace/swift-PR-macos-smoke-test/branch-main/swift/utils/build_swift/run_tests.py
--
Exit Code: 1
Command Output (stderr):
--
.....................................................................................................................................................................................................................................................................................................................F.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: test_expected_options_exhaustive (tests.build_swift.test_driver_arguments.TestDriverArgumentParser)
Test that we are exhaustively testing all options accepted by the
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildnode/jenkins/workspace/swift-PR-macos-smoke-test/branch-main/swift/utils/build_swift/tests/build_swift/test_driver_arguments.py", line 418, in test_expected_options_exhaustive
self.fail('non-exhaustive expected options, missing: {}'
AssertionError: non-exhaustive expected options, missing: {'--swift-disable-dead-stripping'}
----------------------------------------------------------------------
Ran 1039 tests in 33.278s
FAILED (failures=1)
--
********************
PASS: Swift(macosx-x86_64) :: Evolution/test_enum_add_cases_trap.swift (7486 of 14077)
PASS: Swift(macosx-x86_64) :: Evolution/test_conformance_reference.swift (7487 of 14077)
PASS: Swift(macosx-x86_64) :: Evolution/test_enum_add_cases.swift (7488 of 14077)
FAIL: Swift(macosx-x86_64) :: Python/python_lint.swift (7489 of 14077)
******************** TEST 'Swift(macosx-x86_64) :: Python/python_lint.swift' FAILED ********************
Script:
--
: 'RUN: at line 8'; /Applications/Xcode.app/Contents/Developer/usr/bin/python3 /Users/buildnode/jenkins/workspace/swift-PR-macos-smoke-test/branch-main/swift/utils/python_lint.py
--
Exit Code: 1
Command Output (stdout):
--
./utils/build-script:603:1: W293 blank line contains whitespace
./utils/build_swift/build_swift/driver_arguments.py:337:1: W293 blank line contains whitespace
--
********************
comment created time in 2 hours
pull request commentapple/swift
[Sema] Diagnose type error on Clang type mismatch.
@swift-ci please test source compatibility
comment created time in 2 hours
pull request commentapple/swift
[Sema] Diagnose type error on Clang type mismatch.
@swift-ci please test
comment created time in 2 hours
pull request commentapple/swift
No really, it shouldn't collide with that work if everything is done in a stateless manner.
Right! I modify the approach to a way where we don't have a state on the binding set. So let me know what you think :)
comment created time in 3 hours
push eventapple/swift
commit sha 6e0524042685283682d5196bbef8f9a8df1e6336
AsyncSequence and protocol conformance rethrows (#35224) * Initial draft of async sequences * Adjust AsyncSequence associated type requirements * Add a draft implementation of AsyncSequence and associated functionality * Correct merge damage and rename from GeneratorProtocol to AsyncIteratorProtocol * Add AsyncSequence types to the cmake lists * Add cancellation support * [DRAFT] Implementation of protocol conformance rethrowing * Account for ASTVerifier passes to ensure throwing and by conformance rethrowing verifies appropriately * Remove commented out code * OtherConstructorDeclRefExpr can also be a source of a rethrowing kind function * Re-order the checkApply logic to account for existing throwing calculations better * Extract rethrowing calculation into smaller functions * Allow for closures and protocol conformances to contribute to throwing * Add unit tests for conformance based rethrowing * Restrict rethrowing requirements to only protocols marked with @rethrows * Correct logic for gating of `@rethrows` and adjust the determinates to be based upon throws and not rethrows spelling * Attempt to unify the async sequence features together * Reorder try await to latest syntax * revert back to the inout diagnosis * House mutations in local scope * Revert "House mutations in local scope" This reverts commit d91f1b25b59fff8e4be107c808895ff3f293b394. * Adjust for inout diagnostics and fall back to original mutation strategy * Convert async flag to source locations and add initial try support to for await in syntax * Fix case typo of MinMax.swift * Adjust rethrowing tests to account for changes associated with @rethrows * Allow parsing and diagnostics associated with try applied to for await in syntax * Correct the code-completion for @rethrows * Additional corrections for the code-completion for @rethrows this time for the last in the list * Handle throwing cases of iteration of async sequences * restore building XCTest * First wave of feedback fixes * Rework constraints checking for async sequence for-try-await-in checking * Allow testing of for-await-in parsing and silgen testing and add unit tests for both * Remove async sequence operators for now * Back out cancellation of AsyncIteratorProtocols * Restructure protocol conformance throws checking and cache results * remove some stray whitespaces * Correct some merge damage * Ensure the throwing determinate for applying for-await-in always has a valid value and adjust the for-await-in silgen test to reflect the cancel changes * Squelch the python linter for line length
commit sha 9f29b005b5dca86cf28322a3440cd2cfaebee0b0
Merge remote-tracking branch 'origin/main' into rebranch
push time in 3 hours
pull request commentapple/swift
[SILGen] Enable alternative entry point name.
@swift-ci please asan test
comment created time in 3 hours
pull request commentapple/swift
[SILGen] Enable alternative entry point name.
@swift-ci please clean test
comment created time in 3 hours
pull request commentapple/swift
[ast] Enable the ASTVerifier behind the enable-ast-verifier flag in no-asserts builds.
@swift-ci test macOS platform
comment created time in 3 hours
push eventapple/swift
commit sha 6e0524042685283682d5196bbef8f9a8df1e6336
AsyncSequence and protocol conformance rethrows (#35224) * Initial draft of async sequences * Adjust AsyncSequence associated type requirements * Add a draft implementation of AsyncSequence and associated functionality * Correct merge damage and rename from GeneratorProtocol to AsyncIteratorProtocol * Add AsyncSequence types to the cmake lists * Add cancellation support * [DRAFT] Implementation of protocol conformance rethrowing * Account for ASTVerifier passes to ensure throwing and by conformance rethrowing verifies appropriately * Remove commented out code * OtherConstructorDeclRefExpr can also be a source of a rethrowing kind function * Re-order the checkApply logic to account for existing throwing calculations better * Extract rethrowing calculation into smaller functions * Allow for closures and protocol conformances to contribute to throwing * Add unit tests for conformance based rethrowing * Restrict rethrowing requirements to only protocols marked with @rethrows * Correct logic for gating of `@rethrows` and adjust the determinates to be based upon throws and not rethrows spelling * Attempt to unify the async sequence features together * Reorder try await to latest syntax * revert back to the inout diagnosis * House mutations in local scope * Revert "House mutations in local scope" This reverts commit d91f1b25b59fff8e4be107c808895ff3f293b394. * Adjust for inout diagnostics and fall back to original mutation strategy * Convert async flag to source locations and add initial try support to for await in syntax * Fix case typo of MinMax.swift * Adjust rethrowing tests to account for changes associated with @rethrows * Allow parsing and diagnostics associated with try applied to for await in syntax * Correct the code-completion for @rethrows * Additional corrections for the code-completion for @rethrows this time for the last in the list * Handle throwing cases of iteration of async sequences * restore building XCTest * First wave of feedback fixes * Rework constraints checking for async sequence for-try-await-in checking * Allow testing of for-await-in parsing and silgen testing and add unit tests for both * Remove async sequence operators for now * Back out cancellation of AsyncIteratorProtocols * Restructure protocol conformance throws checking and cache results * remove some stray whitespaces * Correct some merge damage * Ensure the throwing determinate for applying for-await-in always has a valid value and adjust the for-await-in silgen test to reflect the cancel changes * Squelch the python linter for line length
push time in 3 hours
PR merged apple/swift
for @airspeedswift to play around with
pr closed time in 3 hours
pull request commentapple/swift
Concurrency: support draining the main queue in single threaded mode
@swift-ci please smoke test macOS platform
comment created time in 3 hours