mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
canImport should be able to take an additional parameter labeled by either version or underlyingVersion. We need underlyingVersion for clang modules with Swift overlays because they have separate version numbers. The library users are usually interested in checking the importability of the underlying clang module instead of its Swift overlay. Part of rdar://73992299
8.6 KiB
8.6 KiB