diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-27 18:47:35 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-27 18:47:35 +0000 |
commit | 9d31fa75bc05fe4cb903a7701550f22cfb73ea8b (patch) | |
tree | d619c60dff63d9cf0defdfefd208d549e8b129a3 /include/clang/Serialization/Module.h | |
parent | 1872b3153a388b3a548c9f699cbc348128059be9 (diff) |
[PCH] Pull the location out of the serialized declarations and put it in the array
of decl bit offsets.
This allows us to easily get at the location of a decl without deserializing it.
It increases size of Cocoa PCH by only 0.2%.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143123 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization/Module.h')
-rw-r--r-- | include/clang/Serialization/Module.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Serialization/Module.h b/include/clang/Serialization/Module.h index 42b5a58e08..5c0cc9d296 100644 --- a/include/clang/Serialization/Module.h +++ b/include/clang/Serialization/Module.h @@ -241,7 +241,7 @@ public: /// \brief Offset of each declaration within the bitstream, indexed /// by the declaration ID (-1). - const uint32_t *DeclOffsets; + const DeclOffset *DeclOffsets; /// \brief Base declaration ID for declarations local to this module. serialization::DeclID BaseDeclID; |