Added the DecorateReflowComments option to control whether '* ' are added
to the beginnings of continuation lines for block comments.
Sorry about the premature review, this is my first commit, and I didn't realize it wouldn't create a draft first.
- For rebuilding the docs, I assume I need to add -DLLVM_BUILD_DOCS=true to CMake and then run ninja -C build?
no you need to run
This will regnerate ClangFormatStyleOptions.rst from the Format.h change you have here, you then need to include that rst file in the review
you are not setting the default value for this so it could be uninitialized, you need to set that in the LLVMStyle section
you need to ensure the == operator has been updated
you should be adding a CHECK_PARSE_BOOL() unit test at a minimum but also some verifyFormat checks in clang/unittest/Format
So if set to false it will never add the decoration. But when set to true it still will not, if it's the first line.
This is not what I'd expect reading the documentation.
If you want to pursue this I think you should go for an enum with Never, Always, and <insert name here> (what we currently have).
Yeah, I think that makes sense. That's what I was thinking while working on the unit tests, because I realized this was breaking the existing style.