commit | 2283d79155a3e82442fce124ce5fd704ca138801 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Aug 20 00:59:43 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Aug 20 00:59:43 2010 +0000 |
tree | 2bcc8745f5052aad44acdacbd1b96a7f473bc89e | |
parent | 6dbce19fdae4cfae4eb5f826284978e723a04e61 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111597 91177308-0d34-0410-b5e6-96231b3b80d8