diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-01-13 12:45:23 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-01-13 12:45:23 +0000 |
commit | 2e06b93f43f79f018d10b982980199ca526d2739 (patch) | |
tree | e2c9170da1938986cd2dbc5ee25ca23122cf7552 /llvm/lib/Support/CommandLine.cpp | |
parent | 6a61b5203dc68982f547cff3d6cd068066417703 (diff) | |
download | bcm5719-llvm-2e06b93f43f79f018d10b982980199ca526d2739.tar.gz bcm5719-llvm-2e06b93f43f79f018d10b982980199ca526d2739.zip |
Introduce Twine::toStringRef, a variant of toVector which avoids the copy if the
twine can be represented as a single StringRef. Use the new methode to simplify
some twine users.
llvm-svn: 93317
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions