This is an archive of the discontinued LLVM Phabricator instance.

Re-write OutputFormattedHelpText in terms of StringRef
ClosedPublic

Authored by zturner on Nov 5 2016, 1:24 PM.

Details

Summary

It was pretty difficult to understand the logic of this function. I think this re-write makes it easier. It also continues the effort of moving more functions to take StringRef instead of const char*, which was necessary in order to make a higher up change to the Properties interface.

Diff Detail

Repository
rL LLVM

Event Timeline

zturner updated this revision to Diff 76970.Nov 5 2016, 1:24 PM
zturner retitled this revision from to Re-write OutputFormattedHelpText in terms of StringRef.
zturner updated this object.
zturner added reviewers: beanz, jingham.
zturner added a subscriber: lldb-commits.
jingham accepted this revision.Nov 7 2016, 6:41 PM
jingham edited edge metadata.

This looks formally equivalent to me.

This revision is now accepted and ready to land.Nov 7 2016, 6:41 PM
This revision was automatically updated to reflect the committed changes.