[PATCH] D27721: Add a c_str() member to StringLiteral

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 13 16:01:27 PST 2016


ruiu added a comment.

As to StringRefZ, I was about to propose StringRef to compute string length lazily, so that I could use it to represent strings in string table. I didn't because it would things hard to debug (because you get errors lazily.) But maybe it makes sense?


https://reviews.llvm.org/D27721





More information about the llvm-commits mailing list