PR22435: Correctly implement tiebreaker for reference ordering in function
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 20 Feb 2015 04:45:22 +0000 (04:45 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 20 Feb 2015 04:45:22 +0000 (04:45 +0000)
commited563c27fefc196c31a7ee4eec380dc636ce4b00
treeda6fc83931e5128913435ecad22c04e45d6a4127
parent4041f2217b14d395e22d7e646d6d80af1d22ec2f
PR22435: Correctly implement tiebreaker for reference ordering in function
template partial ordering rules. This rule applies per pair of types being
compared, not per pair of function templates being compared.

llvm-svn: 229965
clang/lib/Sema/SemaTemplateDeduction.cpp
clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p4.cpp