swiftlang / sourcekit-lsp

Language Server Protocol implementation for Swift and C-based languages
Apache License 2.0
3.3k stars 273 forks source link

Change all variables that are `Atomic*` types to not be `nonisolated(unsafe)` #1447

Closed ahoppen closed 3 months ago

ahoppen commented 3 months ago

Since the Atomic* types can not be marked as Sendable (because they aren’t C structs), we can change the variables to constants and can remove nonisolated(unsafe).

ahoppen commented 3 months ago

@swift-ci Please test