[PATCH] D116960: [ADT] Add an in-place version of toHex()

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 10 10:50:36 PST 2022


hans created this revision.
hans added reviewers: thakis, arlosi, rnk.
Herald added subscribers: dexonsmith, hiraditya.
hans requested review of this revision.
Herald added projects: clang, LLVM.
Herald added a subscriber: cfe-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116960

Files:
  clang/include/clang/Basic/LangOptions.h
  clang/lib/CodeGen/CGDebugInfo.cpp
  clang/lib/CodeGen/CGDebugInfo.h
  clang/test/CodeGen/debug-info-file-checksum.c
  llvm/include/llvm/ADT/StringExtras.h
  llvm/include/llvm/Support/MD5.h
  llvm/lib/Support/MD5.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116960.398696.patch
Type: text/x-patch
Size: 6596 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220110/ce3f8acc/attachment.bin>


More information about the llvm-commits mailing list