diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-10-02 21:09:13 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-10-02 21:09:13 +0000 |
commit | 2093e0bc4e436b1b2791d5423fb3274dd37231b8 (patch) | |
tree | f08c54360124813c94b0b2f1d7175307ae20aa53 /lib/Serialization/Module.cpp | |
parent | ac9289deef6536e47b0da2c6d67d0a74e777b5a2 (diff) |
[libclang] When indexing an AST file, only deserialize the file level
declarations of the current primary module.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165046 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/Module.cpp')
-rw-r--r-- | lib/Serialization/Module.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Serialization/Module.cpp b/lib/Serialization/Module.cpp index ff241d3d41..5fab02b1fb 100644 --- a/lib/Serialization/Module.cpp +++ b/lib/Serialization/Module.cpp @@ -35,7 +35,8 @@ ModuleFile::ModuleFile(ModuleKind Kind, unsigned Generation) SelectorLookupTableData(0), SelectorLookupTable(0), LocalNumDecls(0), DeclOffsets(0), BaseDeclID(0), LocalNumCXXBaseSpecifiers(0), CXXBaseSpecifiersOffsets(0), - FileSortedDecls(0), RedeclarationsMap(0), LocalNumRedeclarationsInMap(0), + FileSortedDecls(0), NumFileSortedDecls(0), + RedeclarationsMap(0), LocalNumRedeclarationsInMap(0), ObjCCategoriesMap(0), LocalNumObjCCategoriesInMap(0), LocalNumTypes(0), TypeOffsets(0), BaseTypeIndex(0), StatCache(0) {} |