Commit Graph

2 Commits

Author SHA1 Message Date
Ted Kremenek
fad874708e Adjust test cases.
Swift SVN r17964
2014-05-12 22:01:52 +00:00
Jordan Rose
54b9f8c026 ClangImporter: Make sure Foundation is available when bridging NSString.
If Foundation wasn't ever actually loaded into the ASTContext, type
lowering would fail to find the NSString-to-String conversion functions.
Fix this by only bridging NSString when a module named "Foundation" can
be loaded.

This still isn't very precise, since the bridging functions could still
be missing, but it at least avoids a user-triggerable error.

<rdar://problem/15027448>

Swift SVN r9380
2013-10-15 22:01:04 +00:00