Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Improve ordering of includes #2740

Merged
merged 2 commits into from
Sep 18, 2024
Merged

Improve ordering of includes #2740

merged 2 commits into from
Sep 18, 2024

Conversation

npaun
Copy link
Member

@npaun npaun commented Sep 18, 2024

When setting IncludeCategories in clang-format, the first matching regex wins, in the order listed in the file. As a result, workerd files weren't given special priority over third-party libraries. This PR fixes the order in which the regexes are listed.

@npaun npaun requested review from fhanau and danlapid September 18, 2024 18:47
@npaun npaun requested review from a team as code owners September 18, 2024 18:47
@npaun npaun merged commit 1736ca2 into main Sep 18, 2024
12 of 13 checks passed
@npaun npaun deleted the npaun/include-order-2 branch September 18, 2024 19:14
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants