commit | 5fcb51c09cdbcb3533dc868343dfcc989e7f653d | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Jan 15 16:21:02 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Jan 15 16:21:02 2010 +0000 |
tree | 63458197b7224e7afa3af9298cda8472d1f53014 | |
parent | 27b174f4c3f27e68f45a2e26d71cc46a72149192 [diff] |
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. llvm-svn: 93514