When performing code-completion in the presence of a preamble, make
sure to (1) actually use the remapped files we were given rather
than old data, and (2) keep the remapped files alive until the
code-completion results are destroyed. Big thanks to Daniel for the
test case.

llvm-svn: 111597
4 files changed
tree: af3cb8c6b2e0f693affb668d546a003b6598c4d0
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. lldb/
  5. llvm/