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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits