summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-16 03:30:10 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-16 03:30:10 +0000
commit289e241d775565b450286a682d7e8a1a1b625f61 (patch)
treee640b83af0c6f532f9fd7f98ec2e14e5c7a2ea74 /utils
parent20a91bfd362bf119a1bbaf27d19518328c5e3e90 (diff)
downloadllvm-289e241d775565b450286a682d7e8a1a1b625f61.tar.gz
llvm-289e241d775565b450286a682d7e8a1a1b625f61.tar.bz2
llvm-289e241d775565b450286a682d7e8a1a1b625f61.tar.xz
Remember that we have a null terminated string.
This is a micro optimization. Instead of going char*->StringRef->Twine->char*, go char*->Twine->char* and avoid having to copy the filename on the stack. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186380 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions