googletest/googlemock/include/gmock
Derek Mauro 0320f517fd Work around a maybe-uninitialized warning under GCC 12
Some Mock constructors insert the pointer to the Mock itself into a
global registry. Since GCC cannot see how the pointer is used (only as
an identifier), it cannot tell that the object doesn't need to be
initialized at that point at all. Work around this by using uintptr_t
instead.

PiperOrigin-RevId: 452380347
Change-Id: Ia5a493057ed90719de1d0efab71de9a8a08ddf8b
2022-06-01 14:08:04 -07:00
..
internal Replace infinite recursion call (intentionally invoking undefined behavior to indicate unreachability) with explicit unreachability marker. 2022-04-13 07:28:00 -07:00
gmock-actions.h gmock-actions: properly support non-moveable results in is_callable_r. 2022-05-27 02:23:49 -07:00
gmock-cardinalities.h Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock-function-mocker.h Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock-matchers.h Fix example of DescribeMatcher to properly support negation. 2022-05-03 12:18:27 -07:00
gmock-more-actions.h gmock: improve SFINAE for actions involving arguments. 2022-04-04 14:38:58 -07:00
gmock-more-matchers.h Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock-nice-strict.h Work around a maybe-uninitialized warning under GCC 12 2022-06-01 14:08:04 -07:00
gmock-spec-builders.h Work around a maybe-uninitialized warning under GCC 12 2022-06-01 14:08:04 -07:00
gmock.h Consistently apply IWYU pragmas across googletest and googlemock headers 2022-01-18 08:11:11 -08:00