- 15 Mar, 2018 1 commit
-
-
Gennadiy Civil authored
-
- 13 Feb, 2018 1 commit
-
-
Gennadiy Civil authored
-
- 31 Jan, 2018 1 commit
-
-
Gennadiy Civil authored
-
- 30 Jan, 2018 2 commits
-
-
Gennadiy Civil authored
-
Gennadiy Civil authored
-
- 19 Sep, 2017 1 commit
-
-
stkhapugin@chromium.org authored
Swap reinterpret_cast for static_cast
-
- 05 Sep, 2017 1 commit
-
-
Stepan Khapugin authored
-
- 09 Aug, 2017 1 commit
-
-
drgler authored
Infinite Loop when calling a mock function that takes boost::filesystem::path as parameter #521: Add is_same type trait and prevent infinite loops for recursive containers
-
- 07 Aug, 2017 1 commit
-
-
David Benjamin authored
MSVC has an optional warning which flags when 32-bit pointers get cast into a 64-bit value. This is a little overaggressive I think, but to ease compiling in projects with aggressive warnings, fix this by just casting to const void * directly. Modern GCCs seem to compile it just fine.
-
- 15 May, 2017 2 commits
-
-
Nico Weber authored
This merges a Google-internal change (117235625). Original CL description: This CL was created manually in about an hour with sed, a Python script to find all the places unqualified 'string' was mentioned, and some help from Emacs to add the "std::" qualifications, plus a few manual tweaks.
-
Nico Weber authored
This upstreams a Google-internal change. Original CL description: The C++ standard says that function pointers are not implicitly convertible to object pointers. Visual Studio disregards that and allows implicit conversion between function pointers and object points, and enough code relies on this that clang follows suit in Microsoft-compatibility mode. However, clang emits a -Wmicrosoft-cast warning when such a conversion is done: E:\b\c\b\win_clang\src\sandbox\win\src\sync_dispatcher.cc(42,7): warning: implicit conversion between pointer-to-function and pointer-to-object is a Microsoft extension [-Wmicrosoft-cast] This change fixes this warning in gtest, while hopefully not changing any behavior. The change does two things: 1. It replaces the if in DefaultPrintTo with SFINAE 2. In C++11 mode, it uses enable_if<is_function<>> instead of ImplicitlyConvertible<T*, const void*> to check if the explicit cast is needed. With this change, functions will use the branch with the reintpret_casts with Visual Studio and clang/win, and clang no longer needs to warn that it implicitly converts a function pointer to a void pointer.
-
- 25 Aug, 2015 1 commit
-
-
Billy Donahue authored
-
- 28 Jul, 2015 1 commit
-
-
kosak authored
Introduce FormatForComparison to format values that are operands of comparison assertions (e.g. ASSERT_EQ).
-
- 14 Jul, 2015 1 commit
-
-
kosak authored
-
- 15 May, 2014 1 commit
-
-
billydonahue authored
-
- 29 Jan, 2014 1 commit
-
-
kosak authored
-
- 12 Jan, 2014 1 commit
-
-
kosak authored
-
- 07 Jun, 2012 1 commit
-
-
zhanyong.wan authored
char arrays are not escapped properly.
-
- 13 Jun, 2011 1 commit
-
-
vladlosev authored
-
- 09 Mar, 2011 1 commit
-
-
zhanyong.wan authored
Makes IsContainerTest compatible with Sun C++ and Visual Age C++, based on Hady Zalek's report and experiment; also fixes a bug that causes it to think that a class named const_iterator is a container; also clarifies the Borland C++ compatibility fix in the comments based on Josh Kelley's suggestion.
-
- 05 Mar, 2011 1 commit
-
-
zhanyong.wan authored
Kelley. Simplified by Zhanyong Wan.
-
- 22 Feb, 2011 1 commit
-
-
zhanyong.wan authored
-
- 29 Jan, 2011 1 commit
-
-
vladlosev authored
-
- 22 Oct, 2010 1 commit
-
-
vladlosev authored
-
- 14 Sep, 2010 1 commit
-
-
zhanyong.wan authored
-
- 09 Aug, 2010 1 commit
-
-
zhanyong.wan authored
Makes gtest print enums as integers instead of hex dumps (by Zhanyong Wan); improves the hex dump format (by Zhanyong Wan); gets rid of class TestInfoImpl (by Zhanyong Wan); adds exception handling (by Vlad Losev).
-
- 21 Jul, 2010 1 commit
-
-
zhanyong.wan authored
Allows a user to customize how the universal printer prints a pointer of a specific type by overloading << (by Zhanyong Wan). Works around a bug in Cymbian's C++ compiler (by Vlad Losev).
-
- 13 May, 2010 1 commit
-
-
vladlosev authored
Replaces UniversalPrinter<T>::Print(x, os) with UniversalPrint(x, os) as appropriate (by Zhanyong Wan).
-
- 10 May, 2010 1 commit
-
-
zhanyong.wan authored
Moves the universal printer from gmock to gtest and refactors the cmake script for reusing in gmock (by Vlad Losev).
-