In Twine::str(), if the Twine stores only a std::string, just return a direct copy...
authorFrits van Bommel <fvbommel@gmail.com>
Fri, 15 Jul 2011 11:05:37 +0000 (11:05 +0000)
committerFrits van Bommel <fvbommel@gmail.com>
Fri, 15 Jul 2011 11:05:37 +0000 (11:05 +0000)
commit331dbca73db75bbb87fcd81e2b8a68c9195de8b5
tree9845af9f963b55ce61ed54931a136f214f573fab
parent0bd9d3af54b62152355525bea7914bdef4600371
In Twine::str(), if the Twine stores only a std::string, just return a direct copy of that instead of first copying to a SmallString and converting that to a std::string. Also fix some indentation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135267 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Twine.cpp