This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG40c1476e3ae2: [clang-format][NFC] Improve documentation on
ReflowComments (authored by HazardyKnusperkeks).
Repository:
rG LLVM Github Monorepo
C
rymiel added inline comments.
Comment at: clang/include/clang/Format/Format.h:3073-3076
+ /// If ``true``, clang-format will attempt to re-flow comments. That is it
+ /// will touch a comment and *reflow* long comments into new lines, trying to
+ /// obey the ``ColumnLimit``.
HazardyKnusperkeks added inline comments.
Comment at: clang/include/clang/Format/Format.h:3073-3076
+ /// If ``true``, clang-format will attempt to re-flow comments. That is it
+ /// will touch a comment and *reflow* long comments into new lines, trying to
+ /// obey the ``Col
HazardyKnusperkeks updated this revision to Diff 475253.
HazardyKnusperkeks marked 3 inline comments as done.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137865/new/
https://reviews.llvm.org/D137865
Files:
clang/docs/ClangFormatStyleOptions.rst
clang/include/clang/Format/Format.h
owenpan added inline comments.
Comment at: clang/include/clang/Format/Format.h:3864
/// \endcode
+ /// This option has only effect if ``ReflowComments`` is set to ``true``.
/// \version 13
owenpan wrote:
> We need an empty line after `/// \endcode`.
> We n
owenpan added inline comments.
Comment at: clang/include/clang/Format/Format.h:3073-3076
+ /// If ``true``, clang-format will attempt to re-flow comments. That is it
+ /// will touch a comment and *reflow* long comments into new lines, trying to
+ /// obey the ``ColumnLimit``.
HazardyKnusperkeks created this revision.
HazardyKnusperkeks added reviewers: rymiel, MyDeveloperDay, owenpan, curdeius.
HazardyKnusperkeks added a project: clang-format.
Herald added a project: All.
HazardyKnusperkeks requested review of this revision.
Herald added a project: clang.
Herald added a