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

COMP: Fix -Wextra-semi Warnings for Macro #4679

Merged
merged 1 commit into from
May 22, 2024

Conversation

andrei-sandor
Copy link
Contributor

This is to see if the following changes regarding the -Wextra-semi (semi = semicolon) warning of clang can be done throughout the repository.

This is for a macro that is not function-like. It should not contain a semicolon. It is a method that is declared and defined in a header so no semi colon is needed.

Are these following changes accepted to proceed with the other cases in the repository?

This is to see if the following changes regarding the -Wextra-semi (semi = semicolon) warning of clang can be done throughout the repository.

This is for a macro that is not function-like. It should not contain a semicolon. It is a method that is declared and defined in a header so no semi colon is needed.

Are these following changes accepted to proceed with the other cases in the repository?
@github-actions github-actions bot added type:Compiler Compiler support or related warnings area:Core Issues affecting the Core module labels May 17, 2024
@seanm
Copy link
Contributor

seanm commented May 17, 2024

This is just a first example of removing the semi-colon for a non-function-like macro (as opposed to a function-like macro).

If there are no objections to this pattern, we'll apply it for other such macros.

@thewtex
Copy link
Member

thewtex commented May 19, 2024

👍 looks good, thanks!

@thewtex thewtex merged commit 6517c0f into InsightSoftwareConsortium:master May 22, 2024
14 checks passed
@andrei-sandor andrei-sandor mentioned this pull request May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:Core Issues affecting the Core module type:Compiler Compiler support or related warnings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants