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

antlr4: suppress unused parameters #2559

Merged
merged 1 commit into from
Dec 11, 2023
Merged

antlr4: suppress unused parameters #2559

merged 1 commit into from
Dec 11, 2023

Conversation

Riolku
Copy link
Contributor

@Riolku Riolku commented Dec 8, 2023

ANTLR4 generates code with unused parameters, which is incompatible with our recently added -Wextra. To combat this, we simply suppress the -Wunused-parameter warning when including the headers, since they are included so few times.

ANTLR4 generates code with unused parameters, which is incompatible with
our recently added `-Wextra`. To combat this, we simply suppress the
`-Wunused-parameter` warning when including the headers, since they are
included so few times.
Copy link

codecov bot commented Dec 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (796650b) 92.91% compared to head (08d0d03) 92.90%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2559      +/-   ##
==========================================
- Coverage   92.91%   92.90%   -0.01%     
==========================================
  Files        1025     1025              
  Lines       38401    38401              
==========================================
- Hits        35679    35676       -3     
- Misses       2722     2725       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Riolku Riolku merged commit 0d997a7 into master Dec 11, 2023
14 checks passed
@Riolku Riolku deleted the antlr4-unused-parameters branch December 11, 2023 18:55
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