aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Serialization/Module.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-10-27 18:47:35 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-10-27 18:47:35 +0000
commit9d31fa75bc05fe4cb903a7701550f22cfb73ea8b (patch)
treed619c60dff63d9cf0defdfefd208d549e8b129a3 /include/clang/Serialization/Module.h
parent1872b3153a388b3a548c9f699cbc348128059be9 (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.h2
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;