| commit | e9db88f99113c7ad3cbfcefce55cabf8820c243b | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <dgregor@apple.com> | Tue Aug 03 19:06:41 2010 +0000 |
| committer | Douglas Gregor <dgregor@apple.com> | Tue Aug 03 19:06:41 2010 +0000 |
| tree | 9794e6767849fafebc0df7024f3732568949ca19 | |
| parent | 3619660529d6189917744f273809cb599eebcc17 [diff] |
When using a precompiled preamble, keep track of the top-level declarations that we saw when creating the precompiled preamble, and provide those declarations in addition to the declarations parsed in the main source file when traversing top-level declarations. This makes the use of precompiled preambles a pure optimization, rather than changing the semantics of the parsed translation unit. llvm-svn: 110131