googletest
googletest copied to clipboard
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
@derekmauro Would you be able to take a look at this PR, or help me be to get in touch with someone that could?
cc @pizzud would you please able to help me get this PR moving for Chromium?