summaryrefslogtreecommitdiffstats
path: root/googletest/include
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2021-04-28 06:04:44 (GMT)
committerDerek Mauro <dmauro@google.com>2021-04-29 14:40:44 (GMT)
commitf5e592d8ee5ffb1d9af5be7f715ce3576b8bf9c4 (patch)
treea0522efc3310c8941de5231c0724d6806de46b36 /googletest/include
parent065a0c8140dd366411b85a51911b5095753c9295 (diff)
downloadgoogletest-f5e592d8ee5ffb1d9af5be7f715ce3576b8bf9c4.zip
googletest-f5e592d8ee5ffb1d9af5be7f715ce3576b8bf9c4.tar.gz
googletest-f5e592d8ee5ffb1d9af5be7f715ce3576b8bf9c4.tar.bz2
Googletest export
Revert https://github.com/google/googletest/commit/ac3c2a8d0496893787015014a5abd397b766cce2 -- it seems to break some gcc users (#3384) PiperOrigin-RevId: 370834917
Diffstat (limited to 'googletest/include')
-rw-r--r--googletest/include/gtest/gtest-printers.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/googletest/include/gtest/gtest-printers.h b/googletest/include/gtest/gtest-printers.h
index 46fe895..978420e 100644
--- a/googletest/include/gtest/gtest-printers.h
+++ b/googletest/include/gtest/gtest-printers.h
@@ -113,11 +113,6 @@
#include "gtest/internal/gtest-internal.h"
#include "gtest/internal/gtest-port.h"
-#if GTEST_HAS_RTTI
-#include <typeindex>
-#include <typeinfo>
-#endif // GTEST_HAS_RTTI
-
namespace testing {
// Definitions in the internal* namespaces are subject to change without notice.
@@ -672,18 +667,6 @@ void PrintTo(const ::std::pair<T1, T2>& value, ::std::ostream* os) {
*os << ')';
}
-#if GTEST_HAS_RTTI
-inline void PrintTo(const ::std::type_info& value, ::std::ostream* os) {
- internal::PrintTo<::std::type_info>(value, os);
- *os << " (\"" << value.name() << "\")";
-}
-
-inline void PrintTo(const ::std::type_index& value, ::std::ostream* os) {
- internal::PrintTo<::std::type_index>(value, os);
- *os << " (\"" << value.name() << "\")";
-}
-#endif // GTEST_HAS_RTTI
-
// Implements printing a non-reference type T by letting the compiler
// pick the right overload of PrintTo() for T.
template <typename T>