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

Create a clang-tidy option for building IREE #9402

Merged
merged 3 commits into from
Jun 8, 2022

Conversation

rsuderman
Copy link
Contributor

@rsuderman rsuderman commented Jun 8, 2022

Adds an IREE_ENABLE_CLANG_TIDY flag to IREE to start turning on clang-tidy features.
Anything that triggers failures is disabled right now.

Adds an IREE_ENABLE_CLANG_TIDE flag to IREE to start turning on clang-tidy features.
Anything that triggers failures is disabled right now. Includes a kokoro agent that
runs clang-tidy.
Copy link
Collaborator

@benvanik benvanik left a comment

Choose a reason for hiding this comment

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

LGTM - I think having an informational check is good to start and we can add additional things for compiler and runtime as needed. One tricky thing with making this blocking is that clang-tidy changes quite a bit (way more than clang-format) and ensuring all users have the same versions that support the same checks is tricky. May still be worth it to make blocking depending on how much noise we catch with this even if it means that users must use our bots as a source of truth for the warnings.

@rsuderman rsuderman changed the title Create a clang-tidy kokoro agent Create a clang-tidy option for building IREE Jun 8, 2022
@rsuderman rsuderman merged commit d42e002 into iree-org:main Jun 8, 2022
jpienaar pushed a commit to jpienaar/iree that referenced this pull request Jun 10, 2022
Adds an IREE_ENABLE_CLANG_TIDY flag to IREE to start turning on clang-tidy features.
Anything that triggers failures is disabled right now.
@rsuderman rsuderman deleted the ClangTidy branch June 27, 2023 16:55
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.

2 participants