llvm.org GIT mirror llvm / 4c406c2
Remove an unused function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342694 91177308-0d34-0410-b5e6-96231b3b80d8 David Blaikie 2 years ago
1 changed file(s) with 0 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
2222 #include
2323
2424 using namespace llvm;
25
26 namespace llvm {
27 /// Provide an ostream operator for StringRef.
28 ///
29 /// For convenience we provide a custom matcher below for IRUnit's and analysis
30 /// result's getName functions, which most of the time returns a StringRef. The
31 /// matcher makes use of this operator.
32 static std::ostream &operator<<(std::ostream &O, StringRef S) {
33 return O << S.str();
34 }
35 }
3625
3726 namespace {
3827 using testing::AnyNumber;