Tweak the partial ordering rules for function templates to prefer a
commit5ea5ed4200f6e94afe76d325f11ffa3f17ef77b2
authorDouglas Gregor <doug.gregor@gmail.com>
Sun, 16 Jan 2011 16:03:23 +0000 (16 16:03 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Sun, 16 Jan 2011 16:03:23 +0000 (16 16:03 +0000)
tree65fc8cce902d8df09c8c95a1d1a11de89288423a
parent04a2086d24fc188e45e9608ad8cebdc5466a9512
Tweak the partial ordering rules for function templates to prefer a
non-variadic function template over a variadic one. This matches GCC
and the intent of the C++0x wording, in a way that I think is likely
to be acceptable to the committee.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123581 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateDeduction.cpp
test/CXX/temp/temp.decls/temp.variadic/partial-ordering.cpp