diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-08-20 00:59:43 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-08-20 00:59:43 +0000 |
| commit | 2283d79155a3e82442fce124ce5fd704ca138801 (patch) | |
| tree | 2bcc8745f5052aad44acdacbd1b96a7f473bc89e /lib/CodeGen/CGExpr.cpp | |
| parent | 6dbce19fdae4cfae4eb5f826284978e723a04e61 (diff) | |
| download | clang-2283d79155a3e82442fce124ce5fd704ca138801.tar.gz clang-2283d79155a3e82442fce124ce5fd704ca138801.tar.bz2 clang-2283d79155a3e82442fce124ce5fd704ca138801.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
