[llvm-dev] llvm::opt::ArgStringList const char* vs llvm::StringRef

<Alexander G. Riccio> via llvm-dev llvm-dev at lists.llvm.org
Tue Apr 12 20:18:36 PDT 2016

I noticed that ArgStringList - a very widely used type - uses raw const
char* to hold strings, instead of wonderfully useful StringRef helper. Is
there a technical reason for this? Does ArgStringList predate StringRef? Is
it just that ArgStringList is too widely used to make any kind of breaking

Alexander Riccio
"Change the world or go home."

If left to my own devices, I will build more.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160412/8fcbc004/attachment.html>

More information about the llvm-dev mailing list