googletest/googlemock/test
Arthur O'Dwyer 766ac2e1a4 Remove all uses of GTEST_DISALLOW_{MOVE_,}ASSIGN_.
None of these are strictly needed for correctness.
A large number of them (maybe all of them?) trigger `-Wdeprecated`
warnings on Clang trunk as soon as you try to use the implicitly
defaulted (but deprecated) copy constructor of a class that has
deleted its copy assignment operator.

By declaring a deleted copy assignment operator, the old code
also caused the move constructor and move assignment operator
to be non-declared. This means that the old code never got move
semantics -- "move-construction" would simply call the defaulted
(but deprecated) copy constructor instead. With the new code,
"move-construction" calls the defaulted move constructor, which
I believe is what we want to happen. So this is a runtime
performance optimization.

Unfortunately we can't yet physically remove the definitions
of these macros from gtest-port.h, because they are being used
by other code internally at Google (according to zhangxy988).
But no new uses should be added going forward.
2020-04-23 22:22:07 -04:00
..
BUILD.bazel Googletest export 2020-03-17 17:20:23 -04:00
gmock_all_test.cc Googletest export 2020-02-07 13:35:27 -05:00
gmock_ex_test.cc Comments changes, no functionality changes 2018-08-14 14:04:07 -04:00
gmock_leak_test_.cc Comments changes, no functionality changes 2018-08-14 14:04:07 -04:00
gmock_leak_test.py Comments changes, no functionality changes. 2018-08-14 15:04:11 -04:00
gmock_link2_test.cc Comments changes, no functionality changes 2018-08-14 14:04:07 -04:00
gmock_link_test.cc Comments changes, no functionality changes 2018-08-14 14:04:07 -04:00
gmock_link_test.h Replaced all NULLs with nullptr in googlemock 2018-10-28 03:27:51 +03:00
gmock_output_test_.cc Comments changes, no functionality changes 2018-08-14 14:04:07 -04:00
gmock_output_test_golden.txt Googletest export 2019-07-16 13:35:16 -04:00
gmock_output_test.py Googletest export 2019-07-17 13:38:25 -04:00
gmock_stress_test.cc Googletest export 2018-10-29 13:46:16 -04:00
gmock_test_utils.py Comments changes, no functionality changes. 2018-08-14 15:04:11 -04:00
gmock_test.cc Apply clang-tidy modernize-use-nullptr to googletest. 2018-10-05 12:54:14 -04:00
gmock-actions_test.cc Remove all uses of GTEST_DISALLOW_{MOVE_,}ASSIGN_. 2020-04-23 22:22:07 -04:00
gmock-cardinalities_test.cc restore mistakenly removed iffs in their explicit form 2019-08-20 12:14:22 +02:00
gmock-function-mocker_nc_test.py Googletest export 2018-11-20 13:29:40 -05:00
gmock-function-mocker_nc.cc Googletest export 2018-11-20 13:29:40 -05:00
gmock-function-mocker_test.cc Merge pull request #2350 from adambadura:MockFunctionFromStdFunction 2020-03-24 17:32:16 -04:00
gmock-generated-actions_test.cc Googletest export 2018-12-17 17:57:39 -05:00
gmock-generated-matchers_test.cc Googletest export 2020-02-07 18:20:45 -05:00
gmock-internal-utils_test.cc Googletest export 2019-11-22 16:33:15 -05:00
gmock-matchers_test.cc Remove all uses of GTEST_DISALLOW_{MOVE_,}ASSIGN_. 2020-04-23 22:22:07 -04:00
gmock-more-actions_test.cc Googletest export 2019-09-16 11:47:35 -04:00
gmock-nice-strict_test.cc Googletest export 2019-01-02 16:51:33 -05:00
gmock-port_test.cc Comments changes, no functionality changes 2018-08-14 14:04:07 -04: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 Googletest export 2018-11-20 13:30:24 -05:00
gmock-spec-builders_test.cc change usings 2019-09-12 18:21:31 +02:00
pump_test.py Merge pull request #2388 from kuzkry:remove-gtest-type-util.pump 2019-10-29 16:50:52 -04:00