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 remaining C++ test lints #3464

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

bernardnormier
Copy link
Member

@bernardnormier bernardnormier commented Jan 31, 2025

This PR fixes the remaining lints in the C++ tests and adds the tests to the CI clang-tidy check.

I also updated the CI job to exclude the generated code from the check; otherwise, it takes too long (almost 3h).

@@ -36,7 +36,7 @@ Client1::run(int argc, char** argv)
}
test(s.find(programName) != string::npos);
in.close();
remove("log.txt");
(void)remove("log.txt");
Copy link
Member

Choose a reason for hiding this comment

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

can we use [[maybe_unused]]?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, it can be (void) or [[maybe_unused]] auto _ = .

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.

3 participants