remove unused declaration attribute IsolatedAttr

This commit is contained in:
Sophia Poirier
2024-01-29 17:58:36 -08:00
parent fcda8bc619
commit a72cf7302d
5 changed files with 2 additions and 7 deletions

View File

@@ -492,9 +492,6 @@ SIMPLE_DECL_ATTR(rethrows, Rethrows,
CONTEXTUAL_SIMPLE_DECL_ATTR(indirect, Indirect, CONTEXTUAL_SIMPLE_DECL_ATTR(indirect, Indirect,
DeclModifier | OnEnum | OnEnumElement | ABIBreakingToAdd | ABIBreakingToRemove | APIStableToAdd | APIStableToRemove, DeclModifier | OnEnum | OnEnumElement | ABIBreakingToAdd | ABIBreakingToRemove | APIStableToAdd | APIStableToRemove,
60) 60)
CONTEXTUAL_SIMPLE_DECL_ATTR(isolated, Isolated,
DeclModifier | OnParam | ABIBreakingToAdd | ABIBreakingToRemove | APIBreakingToAdd | APIBreakingToRemove,
103)
CONTEXTUAL_SIMPLE_DECL_ATTR(async, Async, CONTEXTUAL_SIMPLE_DECL_ATTR(async, Async,
DeclModifier | OnVar | OnFunc | ABIBreakingToAdd | ABIBreakingToRemove | APIBreakingToAdd | APIBreakingToRemove, DeclModifier | OnVar | OnFunc | ABIBreakingToAdd | ABIBreakingToRemove | APIBreakingToAdd | APIBreakingToRemove,
106) 106)

View File

@@ -160,7 +160,6 @@ public:
IGNORED_ATTR(AtReasync) IGNORED_ATTR(AtReasync)
IGNORED_ATTR(ImplicitSelfCapture) IGNORED_ATTR(ImplicitSelfCapture)
IGNORED_ATTR(InheritActorContext) IGNORED_ATTR(InheritActorContext)
IGNORED_ATTR(Isolated)
IGNORED_ATTR(Preconcurrency) IGNORED_ATTR(Preconcurrency)
IGNORED_ATTR(BackDeployed) IGNORED_ATTR(BackDeployed)
IGNORED_ATTR(Documentation) IGNORED_ATTR(Documentation)

View File

@@ -1612,7 +1612,6 @@ namespace {
UNINTERESTING_ATTR(Nonisolated) UNINTERESTING_ATTR(Nonisolated)
UNINTERESTING_ATTR(ImplicitSelfCapture) UNINTERESTING_ATTR(ImplicitSelfCapture)
UNINTERESTING_ATTR(InheritActorContext) UNINTERESTING_ATTR(InheritActorContext)
UNINTERESTING_ATTR(Isolated)
UNINTERESTING_ATTR(NoImplicitCopy) UNINTERESTING_ATTR(NoImplicitCopy)
UNINTERESTING_ATTR(UnavailableFromAsync) UNINTERESTING_ATTR(UnavailableFromAsync)

View File

@@ -58,7 +58,7 @@ const uint16_t SWIFTMODULE_VERSION_MAJOR = 0;
/// describe what change you made. The content of this comment isn't important; /// describe what change you made. The content of this comment isn't important;
/// it just ensures a conflict if two people change the module format. /// it just ensures a conflict if two people change the module format.
/// Don't worry about adhering to the 80-column limit for this line. /// Don't worry about adhering to the 80-column limit for this line.
const uint16_t SWIFTMODULE_VERSION_MINOR = 843; // add OSLog string encoding const uint16_t SWIFTMODULE_VERSION_MINOR = 844; // remove IsolatedAttr
/// A standard hash seed used for all string hashes in a serialized module. /// A standard hash seed used for all string hashes in a serialized module.
/// ///

View File

@@ -44,7 +44,7 @@ func test() {
dynamic #someFunc dynamic #someFunc
@CustomAttr @CustomAttr
isolated #someFunc #someFunc
} }
public # someFunc // expected-error {{extraneous whitespace between '#' and macro name is not permitted}} {{9-10=}} public # someFunc // expected-error {{extraneous whitespace between '#' and macro name is not permitted}} {{9-10=}}