mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[AST/Sema] Replace @execution(concurrent) with @concurrent
This commit is contained in:
@@ -87,9 +87,9 @@ public struct MutatingTest {
|
||||
@abi(func abiSpiFunc())
|
||||
@_spi(spiGroup) public func abiSpiFunc() {}
|
||||
|
||||
@execution(concurrent)
|
||||
@concurrent
|
||||
public func testExecutionConcurrent() async {}
|
||||
// CHECK: @execution(concurrent) public func testExecutionConcurrent() async
|
||||
// CHECK: @concurrent public func testExecutionConcurrent() async
|
||||
|
||||
@execution(caller)
|
||||
public func testExecutionCaller() async {}
|
||||
|
||||
@@ -16,11 +16,11 @@ public struct Test {
|
||||
}
|
||||
|
||||
// CHECK: #if compiler(>=5.3) && $ExecutionAttribute
|
||||
// CHECK-NEXT: @execution(concurrent) public func test() async
|
||||
// CHECK-NEXT: @concurrent public func test() async
|
||||
// CHECK-NEXT: #else
|
||||
// CHECK-NEXT: public func test() async
|
||||
// CHECK-NEXT: #endif
|
||||
@execution(concurrent)
|
||||
@concurrent
|
||||
public func test() async {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user