Only apply the parameter pack matching of C++0x [temp.arg.template]p3
commitfd500bc7793953ff18d72d23b27f7bc7ba916371
authorDouglas Gregor <doug.gregor@gmail.com>
Thu, 13 Jan 2011 18:47:47 +0000 (13 18:47 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Thu, 13 Jan 2011 18:47:47 +0000 (13 18:47 +0000)
tree59087bbe8a20604d7052f5b89445f1e78b8d7978
parentf6ae07bb9930896a46cfcfd766c74d276dce92b1
Only apply the parameter pack matching of C++0x [temp.arg.template]p3
when we're actually matching a template template argument to a
template template parameter. Otherwise, use strict matching.

Fixes <rdar://problem/8859985> clang++: variadics and out-of-line definitions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123385 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplate.cpp
test/CXX/temp/temp.decls/temp.variadic/parameter-matching.cpp