[AST/Sema] Replace @execution(concurrent) with @concurrent

This commit is contained in:
Pavel Yaskevich
2025-04-02 15:31:03 -07:00
parent 873f562a4a
commit 4a973f7b4b
28 changed files with 187 additions and 213 deletions

View File

@@ -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 {}

View File

@@ -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 {
}