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 | d61d4acd703630b62e29b2541574a1842b35d7f2 (patch) | |
tree | 5cc143367055d61ff90985ec1caadc920d130619 /clang/lib/Serialization/Module.cpp | |
parent | b17bb06914abe652c5aa30cb94382907f3f78962 (diff) | |
download | bcm5719-llvm-d61d4acd703630b62e29b2541574a1842b35d7f2.tar.gz bcm5719-llvm-d61d4acd703630b62e29b2541574a1842b35d7f2.zip |
[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.
llvm-svn: 245789
Diffstat (limited to 'clang/lib/Serialization/Module.cpp')
-rw-r--r-- | clang/lib/Serialization/Module.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Serialization/Module.cpp b/clang/lib/Serialization/Module.cpp index 3b237d5529c..9111fc40a02 100644 --- a/clang/lib/Serialization/Module.cpp +++ b/clang/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) {} |