-
Notifications
You must be signed in to change notification settings - Fork 434
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
CODE: Use custom LLVM build, improve clang-format configuration #6013
Conversation
f65d8c1
to
5aec89f
Compare
bot:pipe:retest |
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 we also disable SortIncludes for now?
till we figure out a good method for IncludeCategories
/azp run |
Azure Pipelines failed to run 1 pipeline(s). |
/azp run |
Azure Pipelines failed to run 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Commenter does not have sufficient privileges for PR 6013 in repo openucx/ucx |
issue is #6011 bot:pipe:retest |
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 pls add bad C file for example for format fail?
@yosefe , added format error in |
@gleon99 looks like some weird error + job does not show "success with issues"
|
@yosefe , hopefully fixed. I think |
@gleon99 need to push merge commit with master and then push this fix.. or squash and rebase everything |
cad8bd3
to
b471601
Compare
Rebased over master & squashed everything. Don't merge yet, the incorrectly formatted file is still there. |
b471601
to
6a85098
Compare
few things are still off.
|
@yosefe , (2) - The patch doesn't deal with that case. The thing there is the
line which breaks the assignment alignment. If it was a single line i.e
instead, everything would work fine (checked). Do we want to fix that in the patch? (3) - Fixed. (4) - That's legitimate behaviour as well ( (5) - Fixed. |
@gleon99 ok, we can improve it more later on. pls sqaush and remove the badly formatted file and then we can merge it |
4ac4815
to
0bfdac5
Compare
@yosefe , removed the misformatted file and squashed. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
bot:pipe:retest |
What
Use a custom build of
clang-format
when formatting code in the pipeline, which fixes pointer alignment and supports alignment of consecutive declarations even if there is a comment between them.Why ?
Improve the automatic code formatting done in the CI, by making it consistent and closer to our coding style, so that making it a mandatory step would make sense.