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

disable llvm-include-order rule for clang-tidy #685

Merged

Conversation

engelmi
Copy link
Member

@engelmi engelmi commented Jan 4, 2024

clang-format and clang-tidy seem to both evaluate the include order, but with a different set of rules. For example, clang-format would apply
#include method-unit-actions.h
#include client.h
while clang-tidy would sort them in reverse - and error on the other. Since this is a formatting task, lets disable the include order rule in clang-tidy.

clang-format and clang-tidy seem to both evaluate the
include order, but with a different set of rules. For
example, clang-format would apply
   #include method-unit-actions.h
   #include client.h
while clang-tidy would sort them in reverse - and error
on the other. Since this is a formatting task, lets
disable the include order rule in clang-tidy.

Signed-off-by: Michael Engel <[email protected]>
Copy link
Member

@mkemel mkemel left a comment

Choose a reason for hiding this comment

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

Agreed

@mkemel mkemel merged commit 93bfea1 into eclipse-bluechi:main Jan 4, 2024
@engelmi engelmi deleted the disable-lint-rule-for-include-order branch February 28, 2024 08:01
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