| commit | 2fb99df2c3a3b5d12dfb3781ff16df8c15c782a5 | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <dgregor@apple.com> | Fri Sep 24 23:29:12 2010 +0000 |
| committer | Douglas Gregor <dgregor@apple.com> | Fri Sep 24 23:29:12 2010 +0000 |
| tree | 32f95c8281277e3b86ca87e61cc33d8f039bac46 | |
| parent | 5573fde3426c91332afcd4180193e14cc0a01c32 [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. llvm-svn: 114774