[PATCH] D146926: [clang-format] Add option to decorate reflowed block comments

2023-03-28 Thread Adheesh Wadkar via Phabricator via cfe-commits
apwadkar added inline comments. Comment at: clang/lib/Format/BreakableToken.cpp:406 Decoration = "* "; - if (Lines.size() == 1 && !FirstInLine) { + if ((Lines.size() == 1 && !FirstInLine) || !Style.DecorateReflowedComments) { // Comments for which FirstInLine is false c

[PATCH] D146926: [clang-format] Add option to decorate reflowed block comments

2023-03-26 Thread Adheesh Wadkar via Phabricator via cfe-commits
apwadkar added a comment. 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`? Repository: rG LLVM Github Monorepo

[PATCH] D146926: [clang-format] Add option to decorate reflowed block comments

2023-03-26 Thread Adheesh Wadkar via Phabricator via cfe-commits
apwadkar created this revision. Herald added a project: All. apwadkar requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Added the DecorateReflowComments option to control whether '* ' are added to the beginnings of continuation lines for bloc