diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-11-30 17:33:56 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-11-30 17:33:56 +0000 |
commit | 392ed2b717d86ebdd202cb9bb58d18d8b3b4cd87 (patch) | |
tree | bcb3eaee26ddf777965589a13e04aafe08235bc4 /include/clang/Serialization/Module.h | |
parent | d699ade396154238d2fa89bb09fdcfb79e5587d2 (diff) |
Implement (de-)serialization of the description of a module and its
submodules. This information will eventually be used for name hiding
when dealing with submodules. For now, we only use it to ensure that
the module "key" returned when loading a module will always be a
module (rather than occasionally being a FileEntry).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization/Module.h')
-rw-r--r-- | include/clang/Serialization/Module.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Serialization/Module.h b/include/clang/Serialization/Module.h index ca2046bf27..92ff8d8920 100644 --- a/include/clang/Serialization/Module.h +++ b/include/clang/Serialization/Module.h @@ -17,6 +17,7 @@ #include "clang/Serialization/ASTBitCodes.h" #include "clang/Serialization/ContinuousRangeMap.h" +#include "clang/Lex/ModuleMap.h" #include "clang/Basic/SourceLocation.h" #include "llvm/ADT/OwningPtr.h" #include "llvm/ADT/SetVector.h" @@ -200,6 +201,9 @@ public: /// search information. const char *HeaderFileFrameworkStrings; + // === Submodule information === + llvm::SmallVector<ModuleMap::Module *, 2> Submodules; + // === Selectors === /// \brief The number of selectors new to this file. |