[PATCH] D145923: [MCContext] Use `const Twine &` in symbol creation methods. NFC

Junchang Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 13 04:32:24 PDT 2023


paperchalice created this revision.
paperchalice added a reviewer: MaskRay.
Herald added a subscriber: hiraditya.
Herald added a project: All.
paperchalice requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

All of these methods will invoke `getOrCreateSymbol(const Twine &Name)`, using `Twine` here makes these methods more flexible.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145923

Files:
  llvm/include/llvm/MC/MCContext.h
  llvm/lib/MC/MCContext.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145923.504586.patch
Type: text/x-patch
Size: 4942 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230313/ba8c511d/attachment.bin>


More information about the llvm-commits mailing list