llvm-project/clang/test/CXX/temp
Chandler Carruth 53e61b05ce Accept no-return stripping conversions for pointer type arguments after
deducing template parameter types. Recently Clang began enforcing the
more strict checking that the argument type and the deduced function
parameter type (after substitution) match, but that only consideres
qualification conversions.

One problem with this patch is that we check noreturn conversions and
qualification conversions independently. If a valid conversion would
require *both*, perhaps interleaved with each other, it will be
rejected. If this actually occurs (I'm not yet sure it does) and is in
fact a problem (I'm not yet sure it is), there is a FIXME to implement
more intelligent conversion checking.

However, this step at least allows Clang to resume accepting valid code
we're seeing in the wild.

llvm-svn: 133327
2011-06-18 01:19:03 +00:00
..
temp.arg Implement C++0x [temp.arg.template]p3, which allows slightly fuzzy 2011-01-13 00:08:50 +00:00
temp.decls Diagnose unexpanded parameter packs in return statements. This 2011-05-20 15:32:55 +00:00
temp.fct.spec Accept no-return stripping conversions for pointer type arguments after 2011-06-18 01:19:03 +00:00
temp.names Reinstate r104117, Chandler Carruth's change that "[provides] a naming 2010-05-20 20:58:56 +00:00
temp.param When checking the instantiation of a default template argument against 2011-06-03 02:59:40 +00:00
temp.res Implement support for C++0x alias templates. 2011-05-05 21:57:07 +00:00
temp.spec Downgrade the warning about the use of typedefs for class template 2011-06-07 02:21:18 +00:00
temp.type Implement support for C++0x alias templates. 2011-05-05 21:57:07 +00:00