googletest/googlemock/include/gmock
Abseil Team a09ea700d3 Googletest export
Fix `-Wgnu-zero-variadic-macro-arguments` in GMock

Passing zero arguments to the variadic part of a macro is a GNU
extension and triggers warnings when build projects using GMock with
`-pedantic`.

 - Fix uses of `GMOCK_PP_INTERNAL_16TH` to always receive at least 17
arguments. (this was triggered when `GMOCK_PP_NARG` or `GMOCK_PP_HAS_COMMA`
were used with an argument containing no commas).
 - Fix `GMOCK_PP_HEAD` to append a dummy unused argument so that
`GMOCK_PP_INTERNAL_HEAD` always has two arguments.

PiperOrigin-RevId: 310414611
2020-05-07 16:15:58 -04:00
..
internal Googletest export 2020-05-07 16:15:58 -04:00
gmock-actions.h Merge pull request #2815 from Quuxplusone:simple 2020-05-01 17:11:43 -04:00
gmock-cardinalities.h restore mistakenly removed iffs in their explicit form 2019-08-20 12:14:22 +02:00
gmock-function-mocker.h Googletest export 2020-02-07 13:35:27 -05:00
gmock-generated-actions.h Merge pull request #2815 from Quuxplusone:simple 2020-05-01 17:11:43 -04:00
gmock-generated-actions.h.pump Merge pull request #2815 from Quuxplusone:simple 2020-05-01 17:11:43 -04:00
gmock-matchers.h Merge pull request #2815 from Quuxplusone:simple 2020-05-01 17:11:43 -04:00
gmock-more-actions.h remove a custom implementation of std::is_reference 2019-08-14 13:33:13 +02:00
gmock-more-matchers.h Googletest export 2020-02-07 18:20:45 -05:00
gmock-nice-strict.h Googletest export 2018-12-21 11:30:20 -05:00
gmock-spec-builders.h Fix a -Wdeprecated warning. 2020-04-23 22:22:34 -04:00
gmock.h Googletest export 2020-02-07 18:20:45 -05:00