Abseil Team 1397db9e58 Googletest export
Mark ACTION_Pn()-generated functions as must-use-result.

This catches when a client creates an action and discards it, thinking that the action has actually been applied to something.

This will help people who make the mistake of defining, for example, both `void Use(Foo*)` and `ACTION(Use) { Use(arg); }` for later application to a Foo.  With such an overload, a client may then write `Use();`, forgetting the param and being confused why nothing happens.

This also catches when a client defines their own action in terms of an ACTION()-generated one, invokes the ACTION's builder, and then fails to invoke the resulting action, thinking it's operating on the outer action's parameters.

PiperOrigin-RevId: 312108101
2020-05-28 19:53:34 -04:00
..
2020-05-07 16:15:58 -04:00
2020-05-28 19:53:34 -04:00
2020-02-07 13:35:27 -05:00
2020-05-28 19:53:34 -04:00
2020-02-07 18:20:45 -05:00
2018-12-21 11:30:20 -05:00
2020-02-07 18:20:45 -05:00