diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-22 20:13:39 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-22 20:13:39 +0000 |
| commit | 506abeb8d0fb9d956b8577c03eb9bd85ee04dfdd (patch) | |
| tree | 3d6c1e87b7441d9bb2cdf24d5ef279db896f6f78 /lib/Serialization/Module.cpp | |
| parent | e0848b6353721eb1b278a5bbea257bbf6316251e (diff) | |
| download | clang-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.cpp | 1 |
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) {} |
