-
Notifications
You must be signed in to change notification settings - Fork 592
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
Conversation
@@ -1,13 +1,3 @@ | |||
# C++ code generated from Slice files |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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.
This PR fixes clang-tidy lints in Glacier2, IceBox, IceBridge, IceStorm and DataStorm.