and use that to simplify MD5's hex string code which was previously using a string stream, as well as Clang's CGDebugInfo::computeChecksum().
NFC.
Differential D116960
[ADT] Add an in-place version of toHex() hans on Jan 10 2022, 10:50 AM. Authored by
Details and use that to simplify MD5's hex string code which was previously using a string stream, as well as Clang's CGDebugInfo::computeChecksum(). NFC.
Diff Detail
Event TimelineComment Actions Mostly LGTM, just a couple of comments on the drive-by changes to hexdigit() (I might split that (and the new call in toHex()) into a separate commit, but if you keep them here please mention them in the commit message).
Comment Actions Thanks! I'll commit the hexdigit() change separately.
|
Can you use constexpr StringLiteral here?