]> granicus.if.org Git - clang/commit
Fix the problems with template argument deduction and array types for
authorDouglas Gregor <dgregor@apple.com>
Wed, 22 Jul 2009 21:30:48 +0000 (21:30 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 22 Jul 2009 21:30:48 +0000 (21:30 +0000)
commitf290e0db835a619014538c41ed552696efc0e977
treeecc219edf0199ed9ffe0cb6168bf4249f5a6da6c
parentcd0c073cb7935dc7b468bd9c190535a46659bd74
Fix the problems with template argument deduction and array types for
real. It turns out that we need to actually move all of the qualifiers
up to the array type itself, then recanonicalize the deduced template
argument type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76788 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateDeduction.cpp
test/SemaTemplate/temp_class_spec.cpp