summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/StringMap.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-01-13 12:45:23 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-01-13 12:45:23 +0000
commit2e06b93f43f79f018d10b982980199ca526d2739 (patch)
treee2c9170da1938986cd2dbc5ee25ca23122cf7552 /llvm/lib/Support/StringMap.cpp
parent6a61b5203dc68982f547cff3d6cd068066417703 (diff)
downloadbcm5719-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/StringMap.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud