This is an archive of the discontinued LLVM Phabricator instance.

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.
a.makarov added a reviewer: rsmith.
a.makarov added a subscriber: cfe-commits.

Reid, please, take a look.

rsmith accepted this revision.Jul 18 2016, 12:45 PM
rsmith added a reviewer: rsmith.

LGTM

This revision is now accepted and ready to land.Jul 18 2016, 12:45 PM

Richard, thank you very much! =)

DmitryPolukhin added a subscriber: DmitryPolukhin.

Committed as rL275970