Douglas Gregor 97eec24b0b Add an experimental flag -fauto-module-import that automatically turns
#include or #import direcctives of framework headers into module
imports of the corresponding framework module.

llvm-svn: 139860
2011-09-15 22:00:41 +00:00

13 lines
217 B
Objective-C

const char *getModuleVersion(void);
#ifdef FOO
# error Module should have been built without -DFOO
#endif
@interface Module
+(const char *)version; // retrieve module version
+alloc;
@end
#define MODULE_H_MACRO 1