galenelias
galenelias
I also took a try at fixing it, although I went with a bit of a different approach: https://reviews.llvm.org/D150403
This desired feature came up in my attempt to introduce use of clang-format to my codebase at work. I would be willing to work on this and make a patch...
https://reviews.llvm.org/D151761
https://reviews.llvm.org/D158795
I've submitted a fix for review here: https://reviews.llvm.org/D156705 Sorry for the regression!
I am able to reproduce this on trunk. The relevant setting is `AlignArrayOfStructures: Left` and the non-zero `ColumnLimit`. I took a quick look at fixing it, but it became very...
Minimized formatting options: `clang-format --style="{'AlignArrayOfStructures': 'Left', 'ColumnLimit': '120'}" crash.cpp`
I am able to pick this up, however there is an edge case I'm not sure how to solve: ```cpp // What happens if we format with '{BasedOnStyle: llvm, ColumnLimit:...
Yah, also just to point it out, since it might not be super obvious, but the nested namespaces also really doesn't play nice with the `FixNamespaceComments` option. To demonstrate: ```cpp...
The current logic is explicitly reserving 4 digits of line number space to avoid resizing the gutter as more lines are added. This was done explicitly in https://github.com/zed-industries/zed/pull/4135. It seems...