[PATCH] D25255: Add a c_str() method to StringRef, similar to data() but asserting if the string isn't null terminated (NFC)
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 4 18:16:51 PDT 2016
mehdi_amini abandoned this revision.
mehdi_amini added a comment.
The conclusion on the email thread is that StringRef is not suitable to represent C-string, and we need a new separate class for that. In the meantime, clients will have to live with .data()
https://reviews.llvm.org/D25255
More information about the llvm-commits
mailing list