diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-04-26 03:49:13 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-04-26 03:49:13 +0000 |
| commit | 366809a4e9340b3458b471e2294a75a9f09ea304 (patch) | |
| tree | fa1043cff0bb3ee648a50aa86bff0e5f69ef45c4 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 609e72f55a04cbef59a7d493d5121c066ca3dff5 (diff) | |
| download | clang-366809a4e9340b3458b471e2294a75a9f09ea304.tar.gz clang-366809a4e9340b3458b471e2294a75a9f09ea304.tar.bz2 clang-366809a4e9340b3458b471e2294a75a9f09ea304.tar.xz | |
When writing a PCH file, write multiple type and declaration blocks as
necessary and iterate until all types and declarations have been
written. This reduces the Cocoa.h PCH file size by about 4% (since we
don't write types we don't need), and fixes problems where writing a
declaration generates a new type.
This doesn't seem to have any impact on performance either way.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70109 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
