Remove StringRef->std::string->StringRef conversions.
authorYaron Keren <yaron.keren@gmail.com>
Tue, 17 Mar 2015 21:33:38 +0000 (21:33 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Tue, 17 Mar 2015 21:33:38 +0000 (21:33 +0000)
commit7fa3dea12d68717f9f6f9c4efe287510fb6c6ec9
tree28d4bb442f7a5fe2e977d77d4f3527c085ae26a5
parent887a8678629406379d79aa123f9c2e2b72d9cdac
Remove StringRef->std::string->StringRef conversions.

As StringInit::get() accepts StringRef there is no need
to construct a std::string out of the StringRef input and
then construct a new StringRef from the std::string.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232551 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/TableGen/Record.h