Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable the more effective version of -Wnon-virtual-dtor. #4142

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

chandlerc
Copy link
Contributor

Most of this is enabled by default, but there is some that needs an explicit flag.

Avoiding -Wnon-virtual-dtor itself for now because that warning can require changes that carry overhead such as having an extra, unused destructor entry in the vtable. Hopefully we don't have too many folks who need our code to be -Wnon-virtual-dtor clean.

Most of this is enabled by default, but there is some that needs an
explicit flag.

Avoiding `-Wnon-virtual-dtor` itself for now because that warning can
require changes that carry overhead such as having an extra, unused
destructor entry in the vtable. Hopefully we don't have too many folks
who need our code to be `-Wnon-virtual-dtor` clean.
@zygoloid zygoloid added this pull request to the merge queue Jul 17, 2024
Merged via the queue into carbon-language:trunk with commit 8694ca6 Jul 17, 2024
9 checks passed
brymer-meneses pushed a commit to brymer-meneses/carbon-lang that referenced this pull request Aug 15, 2024
…nguage#4142)

Most of this is enabled by default, but there is some that needs an
explicit flag.

Avoiding `-Wnon-virtual-dtor` itself for now because that warning can
require changes that carry overhead such as having an extra, unused
destructor entry in the vtable. Hopefully we don't have too many folks
who need our code to be `-Wnon-virtual-dtor` clean.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants