Skip to content

Conversation

cdesouza-chromium
Copy link

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: #4803

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: google#4803
@cdesouza-chromium
Copy link
Author

@derekmauro Would you be able to take a look at this PR, or help me be to get in touch with someone that could?

@cdesouza-chromium
Copy link
Author

cc @pizzud would you please able to help me get this PR moving for Chromium?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant