googletest/googlemock/test
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
..
BUILD.bazel Split gmock-matchers_test into 4 smaller test #3653 2022-03-23 09:08:04 -07:00
gmock_all_test.cc Split gmock-matchers_test into 4 smaller test #3653 2022-03-23 09:08:04 -07:00
gmock_ex_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock_leak_test_.cc Remove the legacy internal GTEST_DISALLOW_* macros 2022-04-22 11:26:03 -07:00
gmock_leak_test.py Makes the Python imports consistently use full paths from the repository root, 2021-12-22 13:01:24 -08:00
gmock_link2_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock_link_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock_link_test.h Remove the legacy internal GTEST_DISALLOW_* macros 2022-04-22 11:26:03 -07:00
gmock_output_test_.cc Remove the legacy internal GTEST_DISALLOW_* macros 2022-04-22 11:26:03 -07:00
gmock_output_test_golden.txt Include the param names in the generated description of the MATCHER_P matchers. 2021-12-27 08:05:24 -08:00
gmock_output_test.py Address deprecation warning surfaced by Github presubmit tests 2022-03-23 15:08:26 -07:00
gmock_stress_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock_test_utils.py Makes the Python imports consistently use full paths from the repository root, 2021-12-22 13:01:24 -08:00
gmock_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock-actions_test.cc gmock-actions: properly support non-moveable results in is_callable_r. 2022-05-27 02:23:49 -07:00
gmock-cardinalities_test.cc Remove the legacy internal GTEST_DISALLOW_* macros 2022-04-22 11:26:03 -07:00
gmock-function-mocker_test.cc gmock-actions: simplify Return and add better documentation. 2022-05-10 20:41:04 -07:00
gmock-internal-utils_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock-matchers_test.h Generalize gmock-matchers_test to handle is_gtest_matcher-style matchers, too. 2022-04-26 09:49:03 -07:00
gmock-matchers-arithmetic_test.cc Generalize gmock-matchers_test to handle is_gtest_matcher-style matchers, too. 2022-04-26 09:49:03 -07:00
gmock-matchers-comparisons_test.cc Generalize gmock-matchers_test to handle is_gtest_matcher-style matchers, too. 2022-04-26 09:49:03 -07:00
gmock-matchers-containers_test.cc Generalize gmock-matchers_test to handle is_gtest_matcher-style matchers, too. 2022-04-26 09:49:03 -07:00
gmock-matchers-misc_test.cc Generalize gmock-matchers_test to handle is_gtest_matcher-style matchers, too. 2022-04-26 09:49:03 -07:00
gmock-more-actions_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock-nice-strict_test.cc Remove the legacy internal GTEST_DISALLOW_* macros 2022-04-22 11:26:03 -07:00
gmock-port_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock-pp_test.cc Merge pull request #2514 from thejcannon:msvc_macro_issue 2019-10-23 13:35:26 -04:00
gmock-pp-string_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock-spec-builders_test.cc Remove the legacy internal GTEST_DISALLOW_* macros 2022-04-22 11:26:03 -07:00