aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Lex/ModuleMap.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-11-17 01:41:17 +0000
committerDouglas Gregor <dgregor@apple.com>2011-11-17 01:41:17 +0000
commit2821c7f8870629b56b9c41e1c50c7a091edd544d (patch)
treebb4276ce86ceb2228834e36daa67c0d07fa07443 /include/clang/Lex/ModuleMap.h
parenteeea7c44a6986752fedee1ef1bcef855db373872 (diff)
When we're loading a framework header, first try to turn the framework
into a module. This module can either be loaded from a module map in the framework directory (which isn't quite working yet) or inferred from an umbrella header (which does work, and replaces the existing hack). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144877 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/ModuleMap.h')
-rw-r--r--include/clang/Lex/ModuleMap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Lex/ModuleMap.h b/include/clang/Lex/ModuleMap.h
index 74cca6b881..e9bf1b35c1 100644
--- a/include/clang/Lex/ModuleMap.h
+++ b/include/clang/Lex/ModuleMap.h
@@ -137,6 +137,11 @@ public:
/// \returns The named module, if known; otherwise, returns null.
Module *findModule(StringRef Name);
+ /// \brief Infer the contents of a framework module map from the given
+ /// framework directory.
+ Module *inferFrameworkModule(StringRef ModuleName,
+ const DirectoryEntry *FrameworkDir);
+
/// \brief Parse the given module map file, and record any modules we
/// encounter.
///