commit | 6cd9d4aa13c2145c8b4398453974515b734bfe42 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Mar 04 21:37:14 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Mar 04 21:37:14 2011 +0000 |
tree | 32e2b9ddbad8409e4d8e56de3564249fd8ab8fef | |
parent | a93fc9f053bae84cf7c2a04ea6b1b26e0ea44d8f [diff] |
Teach Sema::ActOnCXXNestedNameSpecifier and Sema::CheckTemplateIdType to cope with non-type templates by providing appropriate errors. Previously, we would either assert, crash, or silently build a dependent type when we shouldn't. Fixes PR9226. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127037 91177308-0d34-0410-b5e6-96231b3b80d8