diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2010-01-31 10:01:20 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2010-01-31 10:01:20 +0000 |
commit | 038cc399940deefc0f55aad8be97312a7390e2ad (patch) | |
tree | 2b0474358c2757d2de936e38d346c4d9d146e17f /lib/Sema/SemaLookup.cpp | |
parent | 9db7dbb918ca49f4ee6c181e4917e7b6ec547353 (diff) |
Fix PR6159 and several other problems with value-dependent non-type template
arguments. This both prevents meaningless checks on these arguments and ensures
that they are represented as an expression by the instantiation.
Cleaned up and added standard text to the relevant test case. Also started
adding tests for *rejected* cases. At least one FIXME here where (I think) we
allow something we shouldn't. More to come in the area of rejecting crazy
arguments with decent diagnostics. Suggestions welcome for still better
diagnostics on these errors!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94953 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaLookup.cpp')
0 files changed, 0 insertions, 0 deletions