summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/GlobalModuleIndex.cpp
diff options
context:
space:
mode:
authorVictor Leschuk <vleschuk@accesssoftek.com>2017-08-30 11:31:56 +0000
committerVictor Leschuk <vleschuk@accesssoftek.com>2017-08-30 11:31:56 +0000
commitdb68911b070847dd237518ff713e3349af0566ff (patch)
tree7f2b7db557cdf34df2041cceadae1cc75a4958ac /clang/lib/Serialization/GlobalModuleIndex.cpp
parent89df797ee978f36f66bdd2e53501aaaeea3d8c28 (diff)
downloadbcm5719-llvm-db68911b070847dd237518ff713e3349af0566ff.tar.gz
bcm5719-llvm-db68911b070847dd237518ff713e3349af0566ff.zip
Revert r312105 [modules] Add ability to specify module name to module file mapping
Looks like it breaks win10 builder. llvm-svn: 312112
Diffstat (limited to 'clang/lib/Serialization/GlobalModuleIndex.cpp')
-rw-r--r--clang/lib/Serialization/GlobalModuleIndex.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Serialization/GlobalModuleIndex.cpp b/clang/lib/Serialization/GlobalModuleIndex.cpp
index 20c114297b9..6978e7e0977 100644
--- a/clang/lib/Serialization/GlobalModuleIndex.cpp
+++ b/clang/lib/Serialization/GlobalModuleIndex.cpp
@@ -619,10 +619,6 @@ bool GlobalModuleIndexBuilder::loadModuleFile(const FileEntry *File) {
(uint32_t)Record[Idx++], (uint32_t)Record[Idx++],
(uint32_t)Record[Idx++]}}};
- // Skip the module name (currently this is only used for prebuilt
- // modules while here we are only dealing with cached).
- Idx += Record[Idx] + 1;
-
// Retrieve the imported file name.
unsigned Length = Record[Idx++];
SmallString<128> ImportedFile(Record.begin() + Idx,
OpenPOWER on IntegriCloud