r207796 - When sorting overload candidates, sort arity mismatches in ascending
Kaelyn Takata
rikka at google.com
Thu May 1 14:35:23 PDT 2014
On Thu, May 1, 2014 at 2:28 PM, Chandler Carruth <chandlerc at google.com>wrote:
>
> On Thu, May 1, 2014 at 2:15 PM, Kaelyn Takata <rikka at google.com> wrote:
>
>> Author: rikka
>> Date: Thu May 1 16:15:24 2014
>> New Revision: 207796
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=207796&view=rev
>> Log:
>> When sorting overload candidates, sort arity mismatches in ascending
>> order by the number of missing or extra parameters. This is useful if
>> there are more than a few overload candidates with arity mismatches,
>> particularly in the presence of -fshow-overloads=best.
>>
>
> This is awesome, thank you!
>
My pleasure! When I looked at CompareOverloadCandidatesForDisplay, I was
amazed that the arity mismatches were sorted after everything else but
weren't being sorted relative to each other. ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140501/08bd99ad/attachment.html>
More information about the cfe-commits
mailing list