mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix a bug that an empty filename for diagnostics can trigger an error in the cached diagnostics. The empty filename can be a virtual file synthesized, for example, to hold an implicit attribute from clang importer. The cached diagnostics can correctly handle such filename now and cached/replay those diagnostics. rdar://141961161
32 KiB
32 KiB