diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-20 00:40:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-20 00:40:49 +0000 |
commit | 3b8adaf4880050918b38ed96fcae6acdab674293 (patch) | |
tree | a3c7169cd0c7d28dd876f9dce32fdf899b1333fe /llvm/lib/Support/StringRef.cpp | |
parent | 78765c36de0a973c6d9f511af33085e1456a9a90 (diff) | |
download | llvm-3b8adaf4880050918b38ed96fcae6acdab674293.zip llvm-3b8adaf4880050918b38ed96fcae6acdab674293.tar.gz llvm-3b8adaf4880050918b38ed96fcae6acdab674293.tar.bz2 |
convert a bunch more stuff to use StringRef. The ArgName arguments are now
stringref because they may not be nul terminated. For options like -Lfoo
this now avoids a O(n) temporary std::strings where N is the length of
the string after -L.
llvm-svn: 82345
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions