mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This mirrors how a bridging header is processed when compiling source files: before any of the imports. This is important for LLDB to recreate the source environment as closely as possible to how the compiler does it; in the test case being added involving a non-modular header file, failure to do so resulted in a deserialization cross-reference crash. Note that Serialization still sorts imports, which normal resolution of imports in source does not do. So we're still not consistent. But this is less important than handling textual includes (bridging headers) before modular imports. rdar://problem/40471329
3 lines
34 B
Objective-C
3 lines
34 B
Objective-C
@protocol AmbivalentProtocol
|
|
@end
|