Saleem Abdulrasool
f46492f7a4
test: support long paths in rewrite-module-triples
...
The path that the tests are using here are extremely long, and can
easily exceed the 261 character limit on Windows. Apply some
workarounds to support long paths.
2020-04-08 21:15:34 -07:00
Saleem Abdulrasool
5309f27cb4
Fix #30819
...
The commit added a broken header into the test which happened to pass
due to ObjC behaviours accidentally leaking. Fix the header.
2020-04-08 19:43:16 -07:00
Brent Royal-Gordon
4de19e1c3c
Merge pull request #30819 from brentdax/a-less-ambitious-crossover-event
...
Ignore transitive ObjC imports when cross-importing
2020-04-08 11:40:35 -07:00
Brent Royal-Gordon
121fa9a058
Ignore transitive ObjC imports when cross-importing
...
This behavior change reduces the chance of unexpected and unwanted cross-imports being performed.
Fixes rdar://problem/60554019.
2020-04-05 19:06:59 -07:00
Artem Chikin
b679fd8738
Add -Rcross-import option
...
It is an optional, user-accessible mechanism to have the compiler tell you what it’s cross-importing.
Resolves rdar://problem/60381893
2020-04-02 19:45:39 -07:00
Brent Royal-Gordon
b5430607a2
Provide a more useful cross-import submodule test
...
Removes an unreliable performance-based submodule skipping test and replaces it with a test that checks for a related functional trait instead.
2020-03-03 22:06:59 -08:00
Varun Gandhi
3626f19e76
[NFC] Mark CrossImport test unsupported without assertions.
2020-02-26 13:22:46 -08:00
Varun Gandhi
fa2ab3b8f6
[NFC] Mark cross-import overlay + module trace test unsupported on Windows. ( #29977 )
2020-02-20 22:32:21 -08:00
abdulras
bbbdf146c9
test: fix for Windows
2020-02-20 18:55:50 +00:00
Brent Royal-Gordon
014bb1cd83
Don’t count submodules when cross-importing
...
It turns out that, if you pull in any nontrivial module, there are thousands of submodules and none of them could possibly have a cross-import overlay. Avoid evaluating them.
2020-02-18 11:08:36 -08:00
Brent Royal-Gordon
12286197c9
[NFC] Improvements suggested in code review
...
Thank you, @hamishknight and @varungandhi-apple.
2020-02-18 11:08:36 -08:00
Brent Royal-Gordon
747c50725c
Add a warning about redundant cross-import declarations
...
These are mostly harmless, except that they make the two module names synonymous in qualified lookup. A hard error seems too aggressive for something that could easily be caused by uncoordinated changes to two modules, so warn instead.
2020-02-18 11:08:36 -08:00
Brent Royal-Gordon
17087cbb4e
Correct for difference between BSD and GNU cp
2020-02-18 11:08:36 -08:00
Brent Royal-Gordon
0ab823801c
Test cross-import overlays
2020-02-18 11:08:36 -08:00
Brent Royal-Gordon
e248f82773
Add support for loading cross-import files
2020-02-18 11:06:12 -08:00