This revision was automatically updated to reflect the committed changes.
Closed by commit rLLDB339292: Add ConstString test FromMidOfBufferStringRef
(authored by stefan.graenitz, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D50334?vs=159298&id=159806#toc
Repository:
rLL
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 sai
sgraenitz created this revision.
sgraenitz added a reviewer: labath.
It was not immediately clear to me whether or not non-null-terminated
StringRef's are supported in ConstString and/or the counterpart mechanism. From
this test it seems to be fine. Maybe useful to keep?
https://reviews.llvm.o