diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-09-12 23:31:24 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-09-12 23:31:24 +0000 |
commit | 21cae2059a06f7d89eee169409c9266def1b1aca (patch) | |
tree | 4e73722923a65113a110c7b3003ce0d27b731b42 /test/Modules/Inputs/Module.framework/Headers/Module.h | |
parent | 41bdde9e961c4d96a94148f20f0b18397f4358dd (diff) |
When an import statement fails to find a module in the module cache,
but there is a corresponding umbrella header in a framework, build the
module on-the-fly so it can be immediately loaded at the import
statement. This is very much proof-of-concept code, with details to be
fleshed out over time.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139558 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/Inputs/Module.framework/Headers/Module.h')
-rw-r--r-- | test/Modules/Inputs/Module.framework/Headers/Module.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Modules/Inputs/Module.framework/Headers/Module.h b/test/Modules/Inputs/Module.framework/Headers/Module.h new file mode 100644 index 0000000000..1d9278b0ca --- /dev/null +++ b/test/Modules/Inputs/Module.framework/Headers/Module.h @@ -0,0 +1,6 @@ +const char *getModuleVersion(void); + +@interface Module ++(const char *)version; +@end + |