]> granicus.if.org Git - clang/commit
Eliminate the redundancy between source-file information in the source
authorDouglas Gregor <dgregor@apple.com>
Mon, 22 Oct 2012 18:42:04 +0000 (18:42 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 22 Oct 2012 18:42:04 +0000 (18:42 +0000)
commita930dc9b46572cb6e5bb54f3d724e8fe23a6b66e
treece00af15e555bff47fb330c6d117d475cb72ba41
parent2e4e110a727a0d379a8fbd0cc2afba1ff3801091
Eliminate the redundancy between source-file information in the source
manager block and input-file information in the control block. The
source manager entries now point back into the control block. Input
files are now lazily deserialized (if validation is disabled). Reduces
Cocoa's PCH by the ~70k I added when I introduced the redundancy in
r166251.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166429 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