mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
`-Xcc` flags are internal to the C compiler; we have `-vfsoverlay` now which directly passes the VFS overlay. Because the VFS overlay flags are automatically passed along to the clang scanner, we need to pass along `-vfsoverlay` to the Swift frontend to ensure that any VFS overlays are honoured. Most likely this was a workaround for `-vfsoverlay` not getting propagated originally and when the restriction was lifted the exercised codepath was not heavily tested.
10 KiB
10 KiB