summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2010-07-19 22:28:42 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2010-07-19 22:28:42 +0000
commit2da08f9d8dff5f2a0ffb0cef72db80f03900a2cf (patch)
tree369dd8a0be1671946e4d26134bcc1fcfed7afd50 /include
parent12d6da0675fa7df09e3f078995774b350e3a4652 (diff)
downloadclang-2da08f9d8dff5f2a0ffb0cef72db80f03900a2cf.tar.gz
clang-2da08f9d8dff5f2a0ffb0cef72db80f03900a2cf.tar.bz2
clang-2da08f9d8dff5f2a0ffb0cef72db80f03900a2cf.tar.xz
Promote IdentifierOffsets to per-file data.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108762 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/Frontend/PCHReader.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/include/clang/Frontend/PCHReader.h b/include/clang/Frontend/PCHReader.h
index 81acd51a86..9002c169b5 100644
--- a/include/clang/Frontend/PCHReader.h
+++ b/include/clang/Frontend/PCHReader.h
@@ -238,9 +238,19 @@ private:
/// \brief The number of declarations in this PCH file.
unsigned LocalNumDecls;
- /// \brief Offset of each declaration within the bitstream, indexed
- /// by the declaration ID (-1).
- const uint32_t *DeclOffsets;
+ /// \brief Offset of each declaration within the bitstream, indexed
+ /// by the declaration ID (-1).
+ const uint32_t *DeclOffsets;
+
+ /// \brief The number of identifiers in this PCH file.
+ unsigned LocalNumIdentifiers;
+
+ /// \brief Offsets into the identifier table data.
+ ///
+ /// This array is indexed by the identifier ID (-1), and provides
+ /// the offset into IdentifierTableData where the string data is
+ /// stored.
+ const uint32_t *IdentifierOffsets;
/// \brief Actual data for the on-disk hash table.
///
@@ -284,13 +294,6 @@ private:
/// DeclContext.
DeclContextOffsetsMap DeclContextOffsets;
- /// \brief Offsets into the identifier table data.
- ///
- /// This array is indexed by the identifier ID (-1), and provides
- /// the offset into IdentifierTableData where the string data is
- /// stored.
- const uint32_t *IdentifierOffsets;
-
/// \brief A vector containing identifiers that have already been
/// loaded.
///