Remember that we have a null terminated string.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 16 Jul 2013 03:30:10 +0000 (03:30 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 16 Jul 2013 03:30:10 +0000 (03:30 +0000)
commit8c1ee47fb036645c91744626505573786d16fece
tree38d1fdd2da3aa382c64587a92c6106c629f1c678
parent2c633e40eeeb4e8c0e7a32c4e2a402202154cba0
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.

llvm-svn: 186380
llvm/tools/llvm-ar/llvm-ar.cpp