llvm-project/clang/test/CXX
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
..
basic Teach Sema::ActOnUninitializedDecl() not to try to interpret when one 2011-05-21 17:52:48 +00:00
class Test for C++11 [class]p6 (trivial classes). 2011-06-12 09:24:32 +00:00
class.access Update our diagnostics to properly account for move operations. 2011-05-25 23:16:36 +00:00
class.derived Get rid of handling of the 'explicit' keyword from class-head. We still parse it though, although that will change shortly. 2011-03-25 14:31:08 +00:00
conv Drop an unjustified limitation from Type::isObjectType(). Fixes PR7801 and doesn't seem to break anything. 2010-08-05 01:21:19 +00:00
dcl.dcl Extend the deduced/actual argument type checking of C++ 2011-06-17 05:31:46 +00:00
dcl.decl Implement support for C++11 in-class initialization of non-static data members. 2011-06-11 17:19:42 +00:00
except When profiling FunctionProtoTypes, don't canonicalize the expression 2011-06-14 16:42:44 +00:00
expr Implement support for C++11 in-class initialization of non-static data members. 2011-06-11 17:19:42 +00:00
lex Implement C++0x [lex.pptoken]p3's handling of <::. 2011-04-14 18:36:27 +00:00
over Make yet another placeholder type, this one marking that an expression is a bound 2011-04-26 20:42:42 +00:00
special Implement support for C++11 in-class initialization of non-static data members. 2011-06-11 17:19:42 +00:00
stmt.stmt Properly implement C++0x [stmt.dcl]p3, which requires a scope to be 2011-06-15 03:23:34 +00:00
temp Accept no-return stripping conversions for pointer type arguments after 2011-06-18 01:19:03 +00:00