Don't infinitely recurse! Patch by Marius Wachtler!

llvm-svn: 124366
This commit is contained in:
Chris Lattner 2011-01-27 07:35:27 +00:00
parent 2d69fb4184
commit 2114b762de
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ using namespace llvm;
namespace llvm {
std::ostream &operator<<(std::ostream &OS, const StringRef &S) {
OS << S;
OS << S.str();
return OS;
}