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
5 files changed
tree: 9794e6767849fafebc0df7024f3732568949ca19
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. lldb/
  5. llvm/