commit | 2114b762def75baa1f501e4c6b29c8087209bdf5 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Jan 27 07:35:27 2011 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Jan 27 07:35:27 2011 +0000 |
tree | 1f0fa078204528350fd867c6bad2731028f62b70 | |
parent | 2d69fb41846219f4da3026b41ad125020c04fa38 [diff] [blame] |
Don't infinitely recurse! Patch by Marius Wachtler! llvm-svn: 124366
diff --git a/llvm/unittests/ADT/StringRefTest.cpp b/llvm/unittests/ADT/StringRefTest.cpp index 7e4d0dc..5731e4a 100644 --- a/llvm/unittests/ADT/StringRefTest.cpp +++ b/llvm/unittests/ADT/StringRefTest.cpp
@@ -16,7 +16,7 @@ namespace llvm { std::ostream &operator<<(std::ostream &OS, const StringRef &S) { - OS << S; + OS << S.str(); return OS; }