diff options
author | John McCall <rjmccall@apple.com> | 2010-01-08 04:41:39 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-01-08 04:41:39 +0000 |
commit | 81201626aa08bcc9d05c8b3c6a1d38a7d577c3ce (patch) | |
tree | ecf369f64bf8be1b1618fe7d06cd544b3c8dbe80 /lib/Analysis/Environment.cpp | |
parent | c31176d5ebbcd407aa512bbd5f717e35da629e7d (diff) |
Change the printing of OR_Deleted overload results to print all the candidates,
not just the viable ones. This is reasonable because the most common use of
deleted functions is to exclude some implicit conversion during calls; users
therefore will want to figure out why some other options were excluded.
Started sorting overload results. Right now it just sorts by location in the
translation unit (after putting viable functions first), but we can do better than
that.
Changed bool OnlyViable parameter to PrintOverloadCandidates to an enum for better
self-documentation.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/Environment.cpp')
0 files changed, 0 insertions, 0 deletions