diff options
-rw-r--r-- | llvm/utils/unittest/googletest/include/gtest/internal/custom/gtest-printers.h | 13 |
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_ |