Claudio DeSouza 770390b31c
Avod exit-time destructors in macros when possible
This change attemps to reduce the introduction of exit-time destructors
by gtest/gmock whenever it is possible, to just skip the destructor
during termination. This is useful for codebases that aim to comply with
clang's `-Wexit-time-destructors`. However, this change does not attempt
to make all of gtest/gmock complaint with this warning, but limits
itself to what merely affects user code.

Bug: https://github.com/google/googletest/issues/4803
2025-07-21 12:02:08 +01:00
..
custom Consistently apply IWYU pragmas across googletest and googlemock headers 2022-01-18 08:11:11 -08:00
gmock-internal-utils.h GoogleTest C++17 cleanups 2025-02-21 07:33:55 -08:00
gmock-port.h Avod exit-time destructors in macros when possible 2025-07-21 12:02:08 +01:00
gmock-pp.h Googletest export 2021-03-16 09:50:49 -04:00