Refine .clang-format - #2791
Conversation
|
is it ok with |
Hi @vagetablechicken , thanks for the reply. I've tried using this file to reformat existing code, it turns out that the majority of diffs are not caused by Clang-format will try to put as many arguments as possible into the the same line if Another major diff is caused by However I can't find a way to allow multiple align styles. Seems that one style must be chosen and |
|
That's nice, I prefer sorting includes. |
The problem of inconsistence style in Doris code is too big, it's hard to minimize modification when reformatting code. So here, our aim is to make the style rules, tune the config in .clang-format. Note: I choose clang-format-8.0+ to support richer sytle options. 2. Refine .clang-format (apache#2791)
- Add .clang-format and docs (apache#2724) The problem of inconsistence style in Doris code is too big, it's hard to minimize modification when reformatting code. So here, our aim is to make the style rules, tune the config in .clang-format. Note: I choose clang-format-8.0+ to support richer sytle options. - Refine .clang-format (apache#2791)
- Add .clang-format and docs (apache#2724) The problem of inconsistence style in Doris code is too big, it's hard to minimize modification when reformatting code. So here, our aim is to make the style rules, tune the config in .clang-format. Note: I choose clang-format-8.0+ to support richer sytle options. - Refine .clang-format (apache#2791)
- Add .clang-format and docs (apache#2724) The problem of inconsistence style in Doris code is too big, it's hard to minimize modification when reformatting code. So here, our aim is to make the style rules, tune the config in .clang-format. Note: I choose clang-format-8.0+ to support richer sytle options. - Refine .clang-format (apache#2791)
Part of #2790
The goal is to