Commit Graph

2 Commits

Author SHA1 Message Date
Ben Langmuir
8fd40135f7 Add missing requires objc_interop to recent test
It broke on the linux bots.
2016-02-08 17:36:16 -08:00
Ben Langmuir
cfff55e989 [InterfaceGen] Fix deserializing submodule ImportDecls
Use the isScoped() bit to distinguish scoped imports from submodule
imports (both of which are split by null bytes in the string) so that we
don't try to lookup a submodule name as if it were a decl (leading to
assertion failures when it wasn't found).

This fixes interface generation of swift modules that import clang
submodules.

rdar://problem/24534122
2016-02-08 17:00:23 -08:00