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

Turn off clang tidy by default #115

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

ysims
Copy link
Member

@ysims ysims commented Nov 29, 2024

This has been sitting like this for ages and it causes compilation to fail for people setting it up for the first time. Might as well turn it off at this point.

@ysims ysims requested review from Tom0Brien and jpptm November 29, 2024 23:03
@@ -33,7 +33,7 @@ endif()
set_project_warnings()

# Default not to run the clang-tidy checks, default to whatever our CI_BUILD is
option(ENABLE_CLANG_TIDY "Enable building with clang-tidy checks." ON)
option(ENABLE_CLANG_TIDY "Enable building with clang-tidy checks." OFF)
Copy link
Member

Choose a reason for hiding this comment

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

Can you fix what makes it fail the first time?

Copy link

Choose a reason for hiding this comment

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

Im not entirely sure as I am not well versed in clang-tidy but correct me if I'm wrong, I remember these things having a warning-as-errors option that would cause compilation to fail because clang-tidy is complaining about stuff. Maybe this is somewhere along those lines and just disabling clang-tidy will make it go away perhaps?

Copy link

Choose a reason for hiding this comment

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

nvm warning as errors is off by default

Copy link
Member Author

Choose a reason for hiding this comment

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

@KipHamiltons Can you elaborate, I'm not sure what you mean? Do you mean make it clang-tidy compliant?

Copy link

@jpptm jpptm left a comment

Choose a reason for hiding this comment

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

lgtm, but see @KipHamiltons ' comment

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