mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Swift compiler can try to import clang modules which might fail to load. In this case, the clang diagnostic engine is reset to ignore the errors, but the hard reset also clears out the states, including the diagnostics options and current states. This will affect the future clang module imports and diagnostics. Use a soft reset that only clears the errors but not the other states. rdar://139723218
3.6 KiB
3.6 KiB