It's a patch for PR28050. Seems like overloading resolution wipes out the first standard conversion sequence (before user-defined conversion) in case of deprecated string literal conversion.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D21228
Deprecated (legacy) string literal conversion to 'char *' causes strange overloading resolution ClosedPublic Authored by • a.makarov on Jun 10 2016, 7:21 AM.
Details Summary It's a patch for PR28050. Seems like overloading resolution wipes out the first standard conversion sequence (before user-defined conversion) in case of deprecated string literal conversion.
Diff Detail Event Timeline• a.makarov retitled this revision from to Deprecated (legacy) string literal conversion to 'char *' causes strange overloading resolution. • a.makarov updated this object. This revision is now accepted and ready to land.Jul 18 2016, 12:45 PM
Revision Contents
Diff 60350 include/clang/Sema/Overload.h
lib/Sema/SemaOverload.cpp
|