]> granicus.if.org Git - clang/commit
Don't allow template argument deduction to deduce a placeholder type,
authorDouglas Gregor <dgregor@apple.com>
Thu, 22 Sep 2011 15:57:07 +0000 (15:57 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 22 Sep 2011 15:57:07 +0000 (15:57 +0000)
commitaf130823cbac5c02f7fe57a5733ee511f5a3ac98
treeacb2bdc77d2bd9efb28e9dfd85b649eb80235ad0
parentb681fb180dd1d1e8659006f1987711dcc92a6241
Don't allow template argument deduction to deduce a placeholder type,
ever. Fixes PR10939.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140304 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateDeduction.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p6.cpp