This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Move writeFuncOrVarName out of class CodegenNameGenerator so that it can be reused more easily.
AbandonedPublic

Authored by plotfi on Mar 23 2019, 11:04 PM.

Details

Reviewers
compnerd
akyrtzi
Summary

I simply want a helper function to use for printing out mangled Decl names. I think this could be a pretty simple straightforward patch to do so, in an NFC manner.

Diff Detail

Repository
rC Clang

Event Timeline

plotfi created this revision.Mar 23 2019, 11:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 23 2019, 11:04 PM

Hmm, what exactly does the libclang interfaces not give you or what exactly did you intend to have this be used as. Perhaps with some more details we can find a good solution for the specific case that you have in mind.

plotfi abandoned this revision.Mar 24 2019, 5:33 PM

Found a better way to do what I needed without this unnecessary change.