diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-07-27 00:17:23 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-07-27 00:17:23 +0000 |
commit | 681d7237e1014bf64dd5ead6bf74ae55cdd19e61 (patch) | |
tree | ea54ca8f9269e79c717882fd7aef9d6473a71894 /include/clang/Frontend/PCHBitCodes.h | |
parent | 3e15e0a7b4da6d906357b00b1bd2bba5ec3195ed (diff) |
- Fix recording of offsets of types in dependent PCHs.
- Stop reading in (and thus deserializing) every declaration in the TU when creating a dependent PCH.
- Switch the storage of a decl context's lexical declarations to a blob containing the IDs instead of a record. This is the only sane way of supporting update records later on.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109474 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/PCHBitCodes.h')
-rw-r--r-- | include/clang/Frontend/PCHBitCodes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/Frontend/PCHBitCodes.h b/include/clang/Frontend/PCHBitCodes.h index 0a51961413..76c4a7cb2a 100644 --- a/include/clang/Frontend/PCHBitCodes.h +++ b/include/clang/Frontend/PCHBitCodes.h @@ -238,7 +238,7 @@ namespace clang { /// PCH version and the name of the PCH this is chained to. CHAINED_METADATA = 26, - /// \brief Record code for referenced selector pool. + /// \brief Record code for referenced selector pool. REFERENCED_SELECTOR_POOL = 27 }; @@ -547,8 +547,8 @@ namespace clang { /// \brief A record that stores the set of declarations that are /// lexically stored within a given DeclContext. /// - /// The record itself is an array of declaration IDs, in the - /// order in which those declarations were added to the + /// The record itself is a blob that is an array of declaration IDs, + /// in the order in which those declarations were added to the /// declaration context. This data is used when iterating over /// the contents of a DeclContext, e.g., via /// DeclContext::decls_begin()/DeclContext::decls_end(). |