[PATCH] D106381: Consolidate string types into ptr and length representations.

Sterling Augustine via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 20 10:32:32 PDT 2021


saugustine created this revision.
saugustine added a reviewer: dblaikie.
Herald added subscribers: dexonsmith, hiraditya.
saugustine requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

After rGbbbc4f110e35ac709b943efaa1c4c99ec073da30 <https://reviews.llvm.org/rGbbbc4f110e35ac709b943efaa1c4c99ec073da30>, we can move
any string type that has convenient pointer and length fields
into the PtrAndLengthKind, reducing the amount of code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106381

Files:
  llvm/include/llvm/ADT/Twine.h
  llvm/lib/Support/Twine.cpp
  llvm/unittests/ADT/TwineTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106381.360197.patch
Type: text/x-patch
Size: 7882 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210720/358ec217/attachment.bin>


More information about the llvm-commits mailing list