summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/instantiate-init.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-06-03 02:59:40 +0000
committerDouglas Gregor <dgregor@apple.com>2011-06-03 02:59:40 +0000
commit2f157c9ae2a2a4f2f7f0c6bd36359fcd57b91df7 (patch)
treeea6eb05e2acb6209f5a9546e72d1a3ef1b0fffb3 /clang/test/SemaTemplate/instantiate-init.cpp
parent03412ba003a36728ec9b32acfb9b33c173b95f0c (diff)
downloadbcm5719-llvm-2f157c9ae2a2a4f2f7f0c6bd36359fcd57b91df7.tar.gz
bcm5719-llvm-2f157c9ae2a2a4f2f7f0c6bd36359fcd57b91df7.zip
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
Diffstat (limited to 'clang/test/SemaTemplate/instantiate-init.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud