googletest/googlemock/include/gmock
Aaron Jacobs 28356773cb gmock-actions: properly support non-moveable results in is_callable_r.
Previously this excluded callables that return non-moveable types. This is the
same as the
[libc++ std::is_invocable_r bug](https://github.com/llvm/llvm-project/issues/55346)
fixed by
[this commit](https://github.com/llvm/llvm-project/commit/c3a24882903d): it's
wrong to use std::is_convertible for checking the return type, since (despite
its name) that doesn't check the standard-defined notion of "implicitly
convertible". Instead we must base the check on whether the source type can be
used as an argument to a function that accepts the destination type.

PiperOrigin-RevId: 451341205
Change-Id: I2530051312a0361ea7a2ce26993ae973c9242089
2022-05-27 02:23:49 -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 Remove the legacy internal GTEST_DISALLOW_* macros 2022-04-22 11:26:03 -07:00
gmock-spec-builders.h gmock-spec-builders: move a method to the header. 2022-05-26 07:25:17 -07:00
gmock.h Consistently apply IWYU pragmas across googletest and googlemock headers 2022-01-18 08:11:11 -08:00