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
..
internal Remove all uses of GTEST_DISALLOW_{MOVE_,}ASSIGN_. 2020-04-23 22:22:07 -04:00
gtest_pred_impl.h Googletest export 2019-01-03 16:40:27 -05:00
gtest_prod.h Comments changes, no functionality changes 2018-08-14 14:04:07 -04:00
gtest-death-test.h restore mistakenly removed iffs in their explicit form 2019-08-20 12:14:22 +02:00
gtest-matchers.h Googletest export 2020-02-11 15:50:26 -05:00
gtest-message.h change includes in gtest-port.h 2019-09-11 10:45:51 +02:00
gtest-param-test.h Googletest export 2020-01-16 13:56:21 -05:00
gtest-printers.h Googletest export 2020-03-17 17:20:15 -04:00
gtest-spi.h Googletest export 2018-12-03 12:54:11 -05:00
gtest-test-part.h restore mistakenly removed iffs in their explicit form 2019-08-20 12:14:22 +02:00
gtest-typed-test.h Googletest export 2020-01-02 16:48:59 -05:00
gtest.h Googletest export 2020-03-24 17:32:07 -04:00