Add an operator+= for appending StringRefs onto std::strings.
authorJohn McCall <rjmccall@apple.com>
Fri, 13 May 2011 23:58:45 +0000 (23:58 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 13 May 2011 23:58:45 +0000 (23:58 +0000)
commit6765f78efbd9d43f429344af7d997ec2df495b02
treea90d42f422e1f35380d8cb86a96a1c304a304e08
parent1c3c8ea66261b7a4fd8813f096514c0a041fbda6
Add an operator+= for appending StringRefs onto std::strings.
Previously this pattern would be compiled using an implicit conversion
to std::string.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131325 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/StringRef.h