[PATCH] Teach llvm::format_hex() to support formatting without a prefix '0x'

Zachary Turner zturner at google.com
Fri Jan 23 13:18:33 PST 2015


In http://reviews.llvm.org/D7151#112909, @majnemer wrote:

> Why not just use `llvm::utohexstr`?


Isn't that less efficient than just writing directly to the stream?  Results in one heap allocation for every byte.


http://reviews.llvm.org/D7151

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list