This is an archive of the discontinued LLVM Phabricator instance.

Pass template parameters when printing template argument lists for function templates
AbandonedPublic

Authored by dblaikie on Sep 30 2021, 8:05 PM.

Details

Reviewers
rsmith
Summary

Improve the application of D77598 by passing the template parameter list, allowing integer suffixes to be omitted in more places, making for easier to read template names

Event Timeline

dblaikie requested review of this revision.Sep 30 2021, 8:05 PM
dblaikie created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptSep 30 2021, 8:05 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
reikdas added a subscriber: reikdas.Oct 6 2021, 7:00 AM
dblaikie abandoned this revision.Nov 10 2021, 6:56 PM

Talked to Richard offline - this is undesirable because it would mean that certain template overloads would not be disambiguated in their naming. I'll post a patch with a test case that demonstrates that desired behavior and abandon this one.