[Lldb-commits] [PATCH] D50334: Add ConstString test FromMidOfBufferStringRef

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 6 07:32:49 PDT 2018


labath accepted this revision.
labath added a comment.
This revision is now accepted and ready to land.

In general, I would assume that a function taking a StringRef can take *any* StringRef object (including the non-terminated ones), unless the limitations are very clearly documented.

That said, having a test that verifies this is a legitimate thing, and since you've already written one, we might as well check it in.


https://reviews.llvm.org/D50334





More information about the lldb-commits mailing list