mirror of
https://github.com/apple/swift.git
synced 2026-11-24 07:03:51 +01:00
test/Inputs/clang-importer-sdk began its life as a mock-up of a Darwin SDK. When used with a non-Darwin target, code in `swift::getClangInvocationFileMapping()` that’s meant to load a platform-specific libc modulemap emits a warning which is now caught by the diagnostic verifier, causing failures. I would prefer to modify clang-importer-sdk to prevent this warning from being emitted, but I had trouble doing that. In lieu of a proper fix, make the affected tests expect this diagnostic.