After rGbbbc4f110e35ac709b943efaa1c4c99ec073da30, we can move
any string type that has convenient pointer and length fields
into the PtrAndLengthKind, reducing the amount of code.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
Looks good, with the StdStringKind case reverted/kept separately given its use in toNullTerminatedStringRef.
Thanks!
llvm/lib/Support/Twine.cpp | ||
---|---|---|
33 | Ah, this feature might justify keeping StdStringKind separately. |
Ah, this feature might justify keeping StdStringKind separately.