[cfe-commits] r93365 - in /cfe/trunk: lib/Sema/SemaOverload.cpp test/SemaCXX/overload-call.cpp
Douglas Gregor
dgregor at apple.com
Mon Jan 18 11:34:01 PST 2010
On Jan 13, 2010, at 2:30 PM, John McCall wrote:
> Author: rjmccall
> Date: Wed Jan 13 16:30:33 2010
> New Revision: 93365
>
> URL: http://llvm.org/viewvc/llvm-project?rev=93365&view=rev
> Log:
> Don't report ambiguities in the user-defined conversion if we
> weren't supposed
> to be considering user-defined conversions in the first place.
>
> Doug, please review; I'm not sure what we should be doing if we see
> a real
> ambiguity in selecting a copy constructor when otherwise suppressing
> user-defined conversions.
In that case, the copy constructor call would actually be a standard
conversion sequence... so I think you are correct to consider it a bad
conversion.
- Doug
More information about the cfe-commits
mailing list