aboutsummaryrefslogtreecommitdiff
path: root/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
commit99c5c7b7df4fe44d54cd680e7878c44789e6e057 (patch)
tree201acbb1affd562a1f4e77913e88f926e487b235 /lib/Support/StringRef.cpp
parentdb513bc0963fbf372f898f8b94fc13994663c0c6 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82345 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions