Commits

Doug Gregor committed 777e3ce24d6
Introduce a simple demo program that uses Clang-imported Objective-C modules. This demo program illustrates how we can use imported Clang modules to operate on Objective-C classes from Swift. The 'Foundation' module is imported from Clang directly, while the 'SwiftFoundation' module adds extensions to String and NSString to allow conversion in both directions, as well as make NSString string-literal'able. The demo program illustrates the use of these modules together fairly cleanly. At present, this only builds with CMake. To enable building the demo, you'll need to install my hacked modules SDK at the standard location or change the MODULES_SDK setting to point at the hacked modules SDK. Makefile support will come a bit later. Swift SVN r3288