diff options
Diffstat (limited to 'include/clang/Lex/ModuleMap.h')
-rw-r--r-- | include/clang/Lex/ModuleMap.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/clang/Lex/ModuleMap.h b/include/clang/Lex/ModuleMap.h index 6ca37f1005..74cca6b881 100644 --- a/include/clang/Lex/ModuleMap.h +++ b/include/clang/Lex/ModuleMap.h @@ -27,6 +27,7 @@ namespace clang { +class DirectoryEntry; class FileEntry; class FileManager; class DiagnosticConsumer; @@ -96,6 +97,14 @@ private: /// that header. llvm::DenseMap<const FileEntry *, Module *> Headers; + /// \brief Mapping from directories with umbrella headers to the module + /// that is generated from the umbrella header. + /// + /// This mapping is used to map headers that haven't explicitly been named + /// in the module map over to the module that includes them via its umbrella + /// header. + llvm::DenseMap<const DirectoryEntry *, Module *> UmbrellaDirs; + friend class ModuleMapParser; public: |