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

Fix more clang-tidy lints (C++) #3406

Merged
merged 7 commits into from
Jan 23, 2025

Conversation

bernardnormier
Copy link
Member

This PR fixes clang-tidy lints in Glacier2, IceBox, IceBridge, IceStorm and DataStorm.

@@ -1,13 +1,3 @@
# C++ code generated from Slice files
Copy link
Member Author

Choose a reason for hiding this comment

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

I could not get this to work. The solution is to generate a clang-format off in the .h files.

@@ -9,6 +9,7 @@ Checks:
-modernize-use-trailing-return-type,
-modernize-concat-nested-namespaces,
-modernize-use-default-member-init,
-modernize-macro-to-enum,
Copy link
Member Author

Choose a reason for hiding this comment

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

That's because there are such macros in the generated Grammar.cpp before we can generate the NOLINTBEGIN.

cpp/src/IceBridge/IceBridge.cpp Show resolved Hide resolved
cpp/src/IceStorm/Service.cpp Outdated Show resolved Hide resolved
cpp/src/IceStorm/Subscriber.cpp Outdated Show resolved Hide resolved
@bernardnormier bernardnormier merged commit 6046761 into zeroc-ice:main Jan 23, 2025
23 of 24 checks passed
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