diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-10-17 00:13:19 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-10-17 00:13:19 +0000 |
commit | 61d60ee6aa0a5ded0ddcf48679673b37506a1895 (patch) | |
tree | 45732c9858f7dcdbf6f9a24a7b7bed3f091c71cd /lib/Frontend/ASTUnit.cpp | |
parent | 866b2744ffe66294c8791cc8407b918f3bb81b2c (diff) |
Merge the "types" and "declarations" blocks in the precompiled header
format, so that we don't end up with multiple declaration and types
blocks. Also, fix a few obscure bugs with PCH loading and generation:
- If the DeclIDs DenseMap reallocates while we are writing a
declaration (due to recursively writing other declarations), we
could end up writing a bad ID to ExternalDefinitions.
- When loading an ArrayLoc (part of DeclaratorInfo), we need to set
the size expression to NULL if no size expression was provided.
PCH -> AST rewriting is still partly broken, unfortunately.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/ASTUnit.cpp')
0 files changed, 0 insertions, 0 deletions