mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
`updateNonUserModule` was accidentally copying `SearchPathOptions`. Take a reference to it instead. Also, since `addFile` is actually called many times (once for every submodule, of which there are many), change `isNonUserModule` to a request so that it's only calculated when needed. Resolves rdar://107155587.
144 KiB
144 KiB