This is an archive of the discontinued LLVM Phabricator instance.

[ADT] Support converting to lowercase string in toHex
ClosedPublic

Authored by phosek on Sep 8 2018, 5:53 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

phosek created this revision.Sep 8 2018, 5:53 PM

LGTM.

(Really nit-picky comment: I would have done it by keeping an offset aside to add for lower case A-F to a-f and kept the original table as is. Implications of removing static may cause an insignificant increase in code size with bad linkers, just speculating, feel free to ignore)

phosek updated this revision to Diff 164607.Sep 9 2018, 10:40 PM

LGTM.

(Really nit-picky comment: I would have done it by keeping an offset aside to add for lower case A-F to a-f and kept the original table as is. Implications of removing static may cause an insignificant increase in code size with bad linkers, just speculating, feel free to ignore)

Done

kristina accepted this revision.Sep 10 2018, 7:35 AM

LGTM, given that there are already good use cases for it.

This revision is now accepted and ready to land.Sep 10 2018, 7:35 AM
This revision was automatically updated to reflect the committed changes.