commit | 2f9f89c6938a788a904c3be3ae7a64f4297c90a6 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Feb 04 13:35:07 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Feb 04 13:35:07 2011 +0000 |
tree | 76a57860a8743d692cdd54eb26b309434a3ca6aa | |
parent | 46ff3034d14aaa92b530e96480741f3d5d458cb8 [diff] |
Improve our handling of the current instantiation for qualified id-expression, e.g., CurrentClass<T>::member Previously, if CurrentClass<T> was dependent and not complete, we would treat it as a dependent-scoped declaration reference expression, even if CurrentClass<T> referred to the current instantiation. Fixes PR8966 and improves type checking of templates. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124867 91177308-0d34-0410-b5e6-96231b3b80d8