]> granicus.if.org Git - clang/commit
[PCH] Keep track of file-level declarations that are contained by files.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 28 Oct 2011 22:54:21 +0000 (22:54 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 28 Oct 2011 22:54:21 +0000 (22:54 +0000)
commit10f3df54486385e6497c9e5f229ff816e5a6c511
treec59d129e93074e5c87cb3f2a4389332ae5dfc522
parentd0dcceae2a8ca0e37b5dd471a704de8583d49c95
[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
include/clang/Serialization/ASTBitCodes.h
include/clang/Serialization/ASTReader.h
include/clang/Serialization/ASTWriter.h
include/clang/Serialization/Module.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
lib/Serialization/ASTWriterDecl.cpp
lib/Serialization/Module.cpp