git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305396
91177308-0d34-0410-b5e6-
96231b3b80d8
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
+#include "gtest/gtest-printers.h"
namespace llvm {
namespace detail {
template <typename T>
void PrintTo(const ExpectedHolder<T> &Item, std::ostream *Out) {
if (Item.Success) {
- *Out << "succeeded with value \"" << testing::PrintToString(**Item.Value)
+ *Out << "succeeded with value \"" << ::testing::PrintToString(**Item.Value)
<< "\"";
} else {
PrintTo(static_cast<const ErrorHolder &>(Item), Out);