This is an archive of the discontinued LLVM Phabricator instance.

[Sema] Use %sub to cleanup overload diagnostics
ClosedPublic

Authored by EricWF on May 18 2018, 9:50 PM.

Details

Summary

This patch adds the newly added %sub diagnostic modifier to cleanup repetition in the overload candidate diagnostics.

I think this should be good to go.

@rsmith: Some of the notes now emit function template where they only said function previously. It seems OK to me, but I would like your sign off on it.

Diff Detail

Repository
rL LLVM

Event Timeline

EricWF created this revision.May 18 2018, 9:50 PM

@rsmith Ping.

Do you have any objection to the addition of "template" to some of the overload diagnostics?

EricWF accepted this revision.May 29 2018, 5:25 PM

Actually I'm OK making this a post-commit review. @rsmith Please let me know if you have any thoughts in your own time.

This revision is now accepted and ready to land.May 29 2018, 5:25 PM
This revision was automatically updated to reflect the committed changes.