summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2018-02-26 15:54:59 +0000
committerIlya Biryukov <ibiryukov@google.com>2018-02-26 15:54:59 +0000
commitd9d9bf8d13c5e25bc8dd1fa3b23fa085c43c883a (patch)
tree0a6f489332ed88552c766e0ee3b95b97f60c815e
parent69d7434745542c9e1008a7d8c78210c772e7d58b (diff)
downloadbcm5719-llvm-d9d9bf8d13c5e25bc8dd1fa3b23fa085c43c883a.tar.gz
bcm5719-llvm-d9d9bf8d13c5e25bc8dd1fa3b23fa085c43c883a.zip
Revert r326092: [gtest] Add PrintTo overload for StringRef.
It seems to break the following buildbot: http://lab.llvm.org:8011/builders/sanitizer-windows/builds/24729 Will resubmit after investigating and fixing it. llvm-svn: 326096
-rw-r--r--llvm/utils/unittest/googletest/include/gtest/internal/custom/gtest-printers.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/utils/unittest/googletest/include/gtest/internal/custom/gtest-printers.h b/llvm/utils/unittest/googletest/include/gtest/internal/custom/gtest-printers.h
index 80e7d91220c..60c1ea050b6 100644
--- a/llvm/utils/unittest/googletest/include/gtest/internal/custom/gtest-printers.h
+++ b/llvm/utils/unittest/googletest/include/gtest/internal/custom/gtest-printers.h
@@ -39,17 +39,4 @@
#ifndef GTEST_INCLUDE_GTEST_INTERNAL_CUSTOM_GTEST_PRINTERS_H_
#define GTEST_INCLUDE_GTEST_INTERNAL_CUSTOM_GTEST_PRINTERS_H_
-#include "llvm/ADT/StringRef.h"
-#include "llvm/Support/raw_os_ostream.h"
-#include <cassert>
-
-namespace llvm {
-// Without this overload StringRef will be printed as a generic container.
-inline void PrintTo(const llvm::StringRef &Val, std::ostream *S) {
- assert(S);
- llvm::raw_os_ostream OS(*S);
- OS << Val;
-}
-} // namespace llvm
-
#endif // GTEST_INCLUDE_GTEST_INTERNAL_CUSTOM_GTEST_PRINTERS_H_
OpenPOWER on IntegriCloud