aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-20 00:40:49 +0000
committerChris Lattner <sabre@nondot.org>2009-09-20 00:40:49 +0000
commit3b8adaf4880050918b38ed96fcae6acdab674293 (patch)
treea3c7169cd0c7d28dd876f9dce32fdf899b1333fe /llvm/lib/Support/StringRef.cpp
parent78765c36de0a973c6d9f511af33085e1456a9a90 (diff)
downloadllvm-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