]> granicus.if.org Git - clang/commit
When deducing template parameters from base classes of an argument type, don't
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 25 Apr 2016 19:09:05 +0000 (19:09 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 25 Apr 2016 19:09:05 +0000 (19:09 +0000)
commit035ee855a953dff86738871f84b0e92627632d76
tree2bb8784924839011d0e240249a114b1efbed598f
parent7e2bc0d353568f2d7fa36214456e38b509448276
When deducing template parameters from base classes of an argument type, don't
preserve any deduced types from a failed deduction to a subsequent attempt at
deduction. Patch by Erik Pilkington!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267444 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateDeduction.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p3.cpp