Files
swift-mirror/test/IDE/clang-importing/Inputs/bridge.h
Argyrios Kyrtzidis e7c55789c5 [ClangImporter] Fix issue with source order comparisons of clang source locations when using a bridging PCH
Clang importer was picking the beginning of the main FileID as include location of its modules, which is the same location that the clang PCH mechanism is using as import location.
Make sure to use a different location otherwise we'll have problems with source order comparisons of clang source locations not being deterministic.

rdar://29137319
2019-01-17 11:10:44 -08:00

5 lines
66 B
C

@import Foundation;
@import somemod1;
void func_in_bridge(void);