forked from OSchip/llvm-project
ebcfbb5d22
part of template argument deduction is ill-formed, we mark it as invalid and treat it as a deduction failure. If we happen to find that specialization again, treat it as a deduction failure rather than silently building a call to the declaration. Fixes PR11117, a marvelous bug where deduction failed after creating an invalid specialization, causing overload resolution to pick a different candidate. Then we performed a similar overload resolution later, and happily picked the invalid specialization to call... resulting in a silent link failure. llvm-svn: 141809 |
||
---|---|---|
.. | ||
temp.alias | ||
temp.class | ||
temp.class.spec | ||
temp.fct | ||
temp.friend | ||
temp.mem | ||
temp.variadic | ||
p3.cpp |