llvm-project/clang/test/CXX/temp/temp.decls
Douglas Gregor ebcfbb5d22 When we determine that a function template specialization produced as
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
2011-10-12 20:35:48 +00:00
..
temp.alias Implement support for C++0x alias templates. 2011-05-05 21:57:07 +00:00
temp.class Improve the reporting of non-viable overload candidates by noting the reason 2010-01-13 00:25:19 +00:00
temp.class.spec Improve our handling of non-type template parameters in partial 2011-01-04 23:35:54 +00:00
temp.fct Implement C++0x [temp.func.order]p3 (aka DR532) properly. In 2010-11-15 15:41:16 +00:00
temp.friend A friend template specialization is also dependent if any of its 2011-10-09 20:59:17 +00:00
temp.mem When we determine that a function template specialization produced as 2011-10-12 20:35:48 +00:00
temp.variadic When substituting into a sizeof parameter pack expression in a context 2011-10-10 18:59:29 +00:00
p3.cpp Slight tweak to alias template error handling: don't guess that a template-id in an alias declaration was meant to be a specialization. Use a generic, but more accurate, diagnostic. 2011-05-05 22:36:10 +00:00