We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6257a98 commit 8b4d4beCopy full SHA for 8b4d4be
llvm/unittests/ADT/StringRefTest.cpp
@@ -16,21 +16,6 @@
16
#include "gtest/gtest.h"
17
using namespace llvm;
18
19
-namespace llvm {
20
-
21
-std::ostream &operator<<(std::ostream &OS, const StringRef &S) {
22
- OS << S.str();
23
- return OS;
24
-}
25
26
-std::ostream &operator<<(std::ostream &OS,
27
- const std::pair<StringRef, StringRef> &P) {
28
- OS << "(" << P.first << ", " << P.second << ")";
29
30
31
32
33
34
// Check that we can't accidentally assign a temporary std::string to a
35
// StringRef. (Unfortunately we can't make use of the same thing with
36
// constructors.)
0 commit comments