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 clang-tidy on things including libsharp #6462

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

wthrowe
Copy link
Member

@wthrowe wthrowe commented Jan 27, 2025

Also disable a new check with a lot of false positives.

Proposed changes

Upgrade instructions

Code review checklist

  • The code is documented and the documentation renders correctly. Run
    make doc to generate the documentation locally into BUILD_DIR/docs/html.
    Then open index.html.
  • The code follows the stylistic and code quality guidelines listed in the
    code review guide.
  • The PR lists upgrade instructions and is labeled bugfix or
    new feature if appropriate.

Further comments

Attempted IWYU replacement.  I think it shows promise, but it's not
ready.  In particular, there's no way to get it to not try to include
private headers of system libraries.
Needs the installed headers.
@@ -59,6 +59,8 @@ Checks: '*,
-misc-confusable-identifiers,
# thinks constexpr variables in header files cause ODR violations,
-misc-definitions-in-headers,
# Insufficiently configurable, does not handle system headers well,
-misc-include-cleaner,
Copy link
Member

Choose a reason for hiding this comment

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

  • I've been using it some to check for missing/extra includes and agree it has some promise, but also agree it definitely needs some control over its behavior before enabling it on CI.
  • in addition to the private system includes, I also got errors I'd like to ignore when including macros from other files

@knelli2 knelli2 merged commit 35f8569 into sxs-collaboration:develop Jan 29, 2025
24 checks passed
@knelli2 knelli2 added build system CMake build system dependencies Pull requests that update a dependency file labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build system CMake build system dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants