llvm-project/clang/test/CXX
Douglas Gregor 2f157c9ae2 When checking the instantiation of a default template argument against
the template parameter, perform the checking as a "specified" template
argument rather than a "deduced" template argument; the latter implies
stricter type checking that is not permitted for default template
arguments.

Also, cleanup our handling of substitution of explicit template
arguments for a function template. We were actually performing some
substitution of default arguments at this point!

Fixes PR10069.

llvm-svn: 132529
2011-06-03 02:59:40 +00:00
..
basic Teach Sema::ActOnUninitializedDecl() not to try to interpret when one 2011-05-21 17:52:48 +00:00
class Tweak the diagnostics for the C++0x extensions to friend types to note 2011-05-10 21:23:31 +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 Diagnose the presence of storage-class-specifiers on explicit 2011-05-21 18:53:30 +00:00
dcl.decl Teach Sema::ActOnUninitializedDecl() not to try to interpret when one 2011-05-21 17:52:48 +00:00
except The expression in a noexcept exception-specification is a 2011-06-01 15:55:51 +00:00
expr Implement the initial part of C++0x [expr.const]p2, which specifies 2011-05-24 16:02:01 +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 Fix PR9941 for out-of-line template destructors too. 2011-05-20 05:57:18 +00:00
stmt.stmt Clean up my changes to jump-diagnostic handling for local variables of 2011-05-27 21:28:00 +00:00
temp When checking the instantiation of a default template argument against 2011-06-03 02:59:40 +00:00