Add ConstString test FromMidOfBufferStringRef
authorStefan Granitz <stefan.graenitz@gmail.com>
Wed, 8 Aug 2018 21:57:42 +0000 (21:57 +0000)
committerStefan Granitz <stefan.graenitz@gmail.com>
Wed, 8 Aug 2018 21:57:42 +0000 (21:57 +0000)
commit4c01eccba2e61a29b14df9fe0496bceacfbc861d
tree67d0a03d37f2b316d1c6e2caab0c0e3c6da87529
parentf1a98df6ee333a675f7d2fe9bf929dca882f5394
Add ConstString test FromMidOfBufferStringRef

Summary: 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?

Reviewers: labath

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D50334

llvm-svn: 339292
lldb/unittests/Utility/ConstStringTest.cpp