googletest/googlemock/include/gmock
Aaron Jacobs 5176726123 gmock-actions: support ByMove in a specialization of ReturnAction.
Rather than branching on whether the return type is ByMoveWrapper within
ReturnAction itself, hoist the distinction to outside. This allows the main
class template to be modified without worrying about this special case, which
means we can stop using a shared pointer to the value (introduced as a
linked_ptr in commit 3d1c78b2bf to support ByMove) in this commit and simplify
the class template further in a future commit with the eventual aim of directly
supporting move-only result types.

PiperOrigin-RevId: 445938943
Change-Id: I7bc71ea301d5e493ac6ecbe57d62738a48a2721a
2022-05-02 08:30:07 -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: support ByMove in a specialization of ReturnAction. 2022-05-02 08:30:07 -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 Remove the legacy internal GTEST_DISALLOW_* macros 2022-04-22 11:26:03 -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 Remove the legacy internal GTEST_DISALLOW_* macros 2022-04-22 11:26:03 -07:00
gmock-spec-builders.h Support move-only and &&-qualified actions in DoAll. 2022-04-26 08:05:34 -07:00
gmock.h Consistently apply IWYU pragmas across googletest and googlemock headers 2022-01-18 08:11:11 -08:00