-
Notifications
You must be signed in to change notification settings - Fork 4
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
base: main
Are you sure you want to change the base?
Conversation
@@ -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) |
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.
Can you fix what makes it fail the first time?
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.
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?
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.
nvm warning as errors
is off by default
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.
@KipHamiltons Can you elaborate, I'm not sure what you mean? Do you mean make it clang-tidy compliant?
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.
lgtm, but see @KipHamiltons ' comment
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.