Skip to content

style(clang-tidy): fix misc-use-anonymous-namespace #1699

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

Merged
merged 4 commits into from
Jun 20, 2025

Conversation

bavulapati
Copy link
Contributor

fixes #1678

@jviotti
Copy link
Member

jviotti commented May 26, 2025

Looks generally good, but keep in mind that when you use the anonymous namespace, you should also remove the static qualifiers for each of the helper functions

@bavulapati
Copy link
Contributor Author

Looks generally good, but keep in mind that when you use the anonymous namespace, you should also remove the static qualifiers for each of the helper functions

Thanks for catching it. It's either static or anonymous namespace.

@bavulapati
Copy link
Contributor Author

@jviotti Do you have any comments on this PR?

@jviotti
Copy link
Member

jviotti commented Jun 19, 2025

Sorry for the delay. I added a few more comments!

@jviotti
Copy link
Member

jviotti commented Jun 19, 2025

From what I can see, this specific commit is missing the sign-off

Screenshot 2025-06-19 at 13 56 31

bavulapati and others added 3 commits June 20, 2025 10:15
Signed-off-by: Balakrishna Avulapati <[email protected]>
Signed-off-by: Balakrishna Avulapati <[email protected]>
@bavulapati bavulapati force-pushed the fix-misc-use-anonymous-namespace branch from b5c5b63 to 4c62a4e Compare June 20, 2025 04:48
Signed-off-by: Balakrishna Avulapati <[email protected]>
@bavulapati
Copy link
Contributor Author

@jviotti Addressed comments. PTAL

Copy link
Member

@jviotti jviotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@jviotti jviotti merged commit a9de30f into sourcemeta:main Jun 20, 2025
14 checks passed
@bavulapati bavulapati deleted the fix-misc-use-anonymous-namespace branch June 20, 2025 12:45
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.

ClangTidy warnings for misc-use-anonymous-namespace
2 participants