mirror of
https://github.com/apple/swift.git
synced 2025-12-25 12:15:36 +01:00
Sema was dutifully tracking conformances that were "used" as part of type checking, so it could make sure that those conformances got completed for SILGen to use. However, this information never actually made it to SILGen, which included its own (more conservative, not broad enough) heuristics for finding "used" conformances. Teach Sema to record conformances within the appropriate source file, and have SILGen reference the conformances when it emits SIL for the source file.
18 lines
266 B
Plaintext
18 lines
266 B
Plaintext
module gizmo { header "Gizmo.h" }
|
|
|
|
module ObjectiveC {
|
|
header "BridgeTestObjectiveC.h"
|
|
}
|
|
|
|
module CoreCooling {
|
|
header "CoreCooling.h"
|
|
}
|
|
|
|
module Foundation {
|
|
header "BridgeTestFoundation.h"
|
|
}
|
|
|
|
module CoreFoundation {
|
|
header "BridgeTestCoreFoundation.h"
|
|
}
|