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 | b357e06f672996400343d38b08014a5b6a7d5b2d (patch) | |
tree | 22907ea5714f0dd34cac34ec6ae92dcd6642c5f2 /lib/CodeGen/OptimizeExts.cpp | |
parent | 81d22d87de93f501f90f55b6bbc63f5dd286797a (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93317 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/OptimizeExts.cpp')
0 files changed, 0 insertions, 0 deletions