diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-01-15 16:21:02 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-01-15 16:21:02 +0000 |
| commit | 501edb6a54524555ad27fbf41a7920dc756b08c6 (patch) | |
| tree | 2cda01b3f34a56c14707ce971563bfd2c37cee99 /lib/CodeGen/CodeGenModule.cpp | |
| parent | 1cfb7da1f34723021f362cb09636965e5ade0c6d (diff) | |
| download | clang-501edb6a54524555ad27fbf41a7920dc756b08c6.tar.gz clang-501edb6a54524555ad27fbf41a7920dc756b08c6.tar.bz2 clang-501edb6a54524555ad27fbf41a7920dc756b08c6.tar.xz | |
When determining whether a DeclRefExpr is value-dependent when it
references a const variable of integral type, the initializer may be
in a different declaration than the one that name-lookup saw. Find the
initializer anyway. Fixes PR6045.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93514 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
