mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Make a single 'PluginRegistry' and share it between SwiftASTManager, IDEInspectionInstance, and CompileInstance. And inject the plugin registry to ASTContext right after 'CompilerInstance.setup()' That way, all sema-capable ASTContext in SourceKit share a single PluginRegistry.
49 KiB
49 KiB