mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Replace the use of the deprecated `Lock` from swift-tools-support-core with `NSLock`. The benefit of the deprecated interface was the `withLock` function which is easily replicated and very unlikely to change. By doing so we avoid the warnings about `Lock` being deprecated when building SourceKit-LSP.