| Issue |
74320
|
| Summary |
[clang-format]: Feature Request: AlignConsecutiveDeclarations option to ignore function prototypes
|
| Labels |
clang-format
|
| Assignees |
|
| Reporter |
bradh352
|
We recently started using clang-format in the c-ares project: https://github.com/c-ares/c-ares/blob/main/.clang-format
We have "AlignConsecutiveDeclarations" enabled, which yields nicely formatted variable declarations. However, since we have a coding style requirement of 80 columns, function prototype alignment actually appears to cause more harm than good from a readability standpoint. Due to the line limit restrictions, the formatting is inconsistent at best, aligning some parameter members and not others.
Our feature request would be a flag to disable function prototypes from this alignment option.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs