googletest/googlemock/include/gmock/internal
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
..
custom formatting custom/README.md 2018-08-13 22:45:53 -04:00
gmock-internal-utils.h Googletest export 2020-05-01 17:11:34 -04:00
gmock-port.h Googletest export 2019-11-22 16:33:15 -05:00
gmock-pp.h Googletest export 2020-05-07 16:15:58 -04:00