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

port_def: Ignore -Wpedantic warnings #13492

Closed
wants to merge 1 commit into from
Closed

port_def: Ignore -Wpedantic warnings #13492

wants to merge 1 commit into from

Conversation

jonaski
Copy link
Contributor

@jonaski jonaski commented Aug 9, 2023

Fixes extra ';' [-Wpedantic] warnings in generated .pb headers.

@jonaski jonaski requested review from a team as code owners August 9, 2023 19:40
@jonaski jonaski requested review from esorot and acozzette and removed request for a team August 9, 2023 19:40
@fowles fowles removed request for esorot and acozzette August 9, 2023 20:17
Fixes `extra ';' [-Wpedantic]` warnings in generated `.pb` headers.
@jonaski jonaski changed the title Fix warning: extra ';' [-Wpedantic] port_def: Ignore -Wpedantic warnings Aug 9, 2023
@jonaski jonaski requested a review from fowles August 9, 2023 20:19
@fowles fowles added the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Aug 9, 2023
@github-actions github-actions bot removed the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Aug 9, 2023
copybara-service bot pushed a commit that referenced this pull request Aug 15, 2023
Fixes `extra ';' [-Wpedantic]` warnings in generated `.pb` headers.

Closes #13492

COPYBARA_INTEGRATE_REVIEW=#13492 from jonaski:pedantic_extra_semicolon a226328
FUTURE_COPYBARA_INTEGRATE_REVIEW=#13492 from jonaski:pedantic_extra_semicolon a226328
PiperOrigin-RevId: 555280758
copybara-service bot pushed a commit that referenced this pull request Aug 15, 2023
Arena enabled copy construction provides efficiency gains for the rather common construct where a message is currently copied by first creating a default initialized instance through the regular (arena) constructor, and then recursively filled from the source message using 'MergeFrom' or 'CopyFrom'.

Arena enabled copy construction is feature gated in port_def.inc and currently not enabled by default.

COPYBARA_INTEGRATE_REVIEW=#13492 from jonaski:pedantic_extra_semicolon a226328
FUTURE_COPYBARA_INTEGRATE_REVIEW=#13492 from jonaski:pedantic_extra_semicolon a226328
PiperOrigin-RevId: 550942711
@jonaski jonaski deleted the pedantic_extra_semicolon branch August 16, 2023 20:52
copybara-service bot pushed a commit that referenced this pull request Sep 9, 2023
Ignores warning: extra ';' inside a struct [-Wextra-semi] in generated proto files.

Amends #13492

Closes #13859

COPYBARA_INTEGRATE_REVIEW=#13859 from jonaski:ports_def_clang_extra-semi de5965a
PiperOrigin-RevId: 564013323
dawidcha pushed a commit to dawidcha/protobuf that referenced this pull request Sep 27, 2023
Ignores warning: extra ';' inside a struct [-Wextra-semi] in generated proto files.

Amends protocolbuffers#13492

Closes protocolbuffers#13859

COPYBARA_INTEGRATE_REVIEW=protocolbuffers#13859 from jonaski:ports_def_clang_extra-semi de5965a
PiperOrigin-RevId: 564013323
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.

2 participants