[ADT] Use a lookup table in hexdigit() and call that from toHex()
A lookup table, which toHex() was using, seems like the better approach. Having two implementations is redundant, so put the lookup table in hexdigit() and make toHex() call that. Differential revision: https://reviews.llvm.org/D116960
Loading
Please sign in to comment