]> granicus.if.org Git - clang/commit
Per the note in C++0x [temp.deduct.call]p4, don't attempt template
authorDouglas Gregor <dgregor@apple.com>
Sun, 9 Oct 2011 22:06:46 +0000 (22:06 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sun, 9 Oct 2011 22:06:46 +0000 (22:06 +0000)
commitd8f5b333f96b4e8018ff3a0d0db62d9e78eb6bdd
tree1afab2191fd51d6b3f4c1da67a009f26d88e1e66
parentae57eadbc1a923efb72924765445db915cc23a9b
Per the note in C++0x [temp.deduct.call]p4, don't attempt template
argument deduction against a function parameter that has no deducible
template parameters in it. Fixes PR8598.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141517 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateDeduction.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p4.cpp [new file with mode: 0644]