diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-28 22:54:21 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-28 22:54:21 +0000 |
commit | 10f3df54486385e6497c9e5f229ff816e5a6c511 (patch) | |
tree | c59d129e93074e5c87cb3f2a4389332ae5dfc522 /include/clang/Serialization/ASTBitCodes.h | |
parent | d0dcceae2a8ca0e37b5dd471a704de8583d49c95 (diff) |
[PCH] Keep track of file-level declarations that are contained by files.
Introduce a FILE_SORTED_DECLS [de]serialization record that contains
a file sorted array of file-level DeclIDs in a PCH/Module.
The rationale is to allow "targeted" deserialization of decls inside
a range of a source file.
Cocoa PCH increased by 0.8%
Difference of creation time for Cocoa PCH is below the noise level.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization/ASTBitCodes.h')
-rw-r--r-- | include/clang/Serialization/ASTBitCodes.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/clang/Serialization/ASTBitCodes.h b/include/clang/Serialization/ASTBitCodes.h index 9301a833ba..982c31d293 100644 --- a/include/clang/Serialization/ASTBitCodes.h +++ b/include/clang/Serialization/ASTBitCodes.h @@ -436,7 +436,10 @@ namespace clang { /// \brief Record code for ObjC categories in a module that are chained to /// an interface. - OBJC_CHAINED_CATEGORIES + OBJC_CHAINED_CATEGORIES, + + /// \brief Record code for a file sorted array of DeclIDs in a module. + FILE_SORTED_DECLS }; /// \brief Record types used within a source manager block. |