]> granicus.if.org Git - clang/commit
When performing template argument deduction against a template-id,
authorDouglas Gregor <dgregor@apple.com>
Tue, 2 Nov 2010 00:02:34 +0000 (00:02 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 2 Nov 2010 00:02:34 +0000 (00:02 +0000)
commit053105d58552c600a2e56473592212a9bddafcd4
tree1f35d1b83dab862f35d03c1727152ccdbde6a3f7
parent73a48ad77c04987730a2469ef334a752dff94894
When performing template argument deduction against a template-id,
only keep deduction results for successful deductions, so that they
can be compared against each other. Fixes PR8462, from Richard Smith!

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