summaryrefslogtreecommitdiff
path: root/lib/Serialization/Module.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-08-22 20:13:39 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-08-22 20:13:39 +0000
commit506abeb8d0fb9d956b8577c03eb9bd85ee04dfdd (patch)
tree3d6c1e87b7441d9bb2cdf24d5ef279db896f6f78 /lib/Serialization/Module.cpp
parente0848b6353721eb1b278a5bbea257bbf6316251e (diff)
downloadclang-506abeb8d0fb9d956b8577c03eb9bd85ee04dfdd.tar.gz
[modules] Further simplification and speedup of redeclaration chain loading.
Instead of eagerly deserializing a list of DeclIDs when we load a module file and doing a binary search to find the redeclarations of a decl, store a list of redeclarations of each chain before the first declaration and load it directly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245789 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/Module.cpp')
-rw-r--r--lib/Serialization/Module.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Serialization/Module.cpp b/lib/Serialization/Module.cpp
index 3b237d5529..9111fc40a0 100644
--- a/lib/Serialization/Module.cpp
+++ b/lib/Serialization/Module.cpp
@@ -40,7 +40,6 @@ ModuleFile::ModuleFile(ModuleKind Kind, unsigned Generation)
LocalNumCXXBaseSpecifiers(0), CXXBaseSpecifiersOffsets(nullptr),
LocalNumCXXCtorInitializers(0), CXXCtorInitializersOffsets(nullptr),
FileSortedDecls(nullptr), NumFileSortedDecls(0),
- RedeclarationsMap(nullptr), LocalNumRedeclarationsInMap(0),
ObjCCategoriesMap(nullptr), LocalNumObjCCategoriesInMap(0),
LocalNumTypes(0), TypeOffsets(nullptr), BaseTypeIndex(0)
{}