diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-09-24 23:29:12 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-09-24 23:29:12 +0000 |
commit | 76dc8890b6c5223de80be8284adbfc63ceeb3a55 (patch) | |
tree | 7a6a7d1605396f009c434359184d415f4c53e676 /lib/Driver/Tools.cpp | |
parent | 37bf9d2bb74944c9d9a52522412bc077629977f1 (diff) |
When setting the globally-visible declarations for a particular
identifier, we may have a Sema object but no translation unit scope
(because parsing is finished). In this case, we still need to update
the IdResolver, which might still be used when writing a PCH
containing another PCH (without chaining). This bug manifested as a
failure with precompiled preambles.
Also, add a little environment-variable-sensitive logging for
libclang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114774 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions