[llvm] r305396 - Add an include of gtest-printers.h to appease the buildbots.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 14 09:49:39 PDT 2017
Author: zturner
Date: Wed Jun 14 11:49:38 2017
New Revision: 305396
URL: http://llvm.org/viewvc/llvm-project?rev=305396&view=rev
Log:
Add an include of gtest-printers.h to appease the buildbots.
Modified:
llvm/trunk/include/llvm/Testing/Support/SupportHelpers.h
Modified: llvm/trunk/include/llvm/Testing/Support/SupportHelpers.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Testing/Support/SupportHelpers.h?rev=305396&r1=305395&r2=305396&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Testing/Support/SupportHelpers.h (original)
+++ llvm/trunk/include/llvm/Testing/Support/SupportHelpers.h Wed Jun 14 11:49:38 2017
@@ -12,6 +12,7 @@
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
+#include "gtest/gtest-printers.h"
namespace llvm {
namespace detail {
@@ -34,7 +35,7 @@ inline void PrintTo(const ErrorHolder &E
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);
More information about the llvm-commits
mailing list