diff options
author | Ben Langmuir <blangmuir@apple.com> | 2014-08-12 16:42:33 +0000 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2014-08-12 16:42:33 +0000 |
commit | 5ddbece1d9b098194da37482da805f65b14cc751 (patch) | |
tree | c505cfc4743dd6e2d9967645f7d2c1a61d658eb3 /include/clang/Serialization | |
parent | d54ba51f337be2333bad3f6de33ed095e2efe9b9 (diff) |
Verify all the module map files for a pcm are the same on load
We already verified the primary module map file (either the one that
defines the top-level module, or the one that allows inferring it if it
is an inferred framework module). Now we also verify any other module
map files that define submodules, such as when there is a
module.private.modulemap file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215455 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization')
-rw-r--r-- | include/clang/Serialization/ASTReader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Serialization/ASTReader.h b/include/clang/Serialization/ASTReader.h index c8701c4fbc..213eacdfbc 100644 --- a/include/clang/Serialization/ASTReader.h +++ b/include/clang/Serialization/ASTReader.h @@ -1117,6 +1117,9 @@ private: bool ReadSourceManagerBlock(ModuleFile &F); llvm::BitstreamCursor &SLocCursorForID(int ID); SourceLocation getImportLocation(ModuleFile *F); + ASTReadResult ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F, + const ModuleFile *ImportedBy, + unsigned ClientLoadCapabilities); ASTReadResult ReadSubmoduleBlock(ModuleFile &F, unsigned ClientLoadCapabilities); static bool ParseLanguageOptions(const RecordData &Record, bool Complain, |