[clang-format] Set ReflowComments=1 to allow adjusting comments

Allows to format the code in better ways adjusting the comments to fit
the column limit. In few cases the comment will require to be moved to
other place (e.g. at the top of a statement rather than to the side of
it).
This commit is contained in:
David Capello 2024-12-12 19:42:21 -03:00
parent 1447e829f7
commit 4a9ccf27b4

View File

@ -168,7 +168,7 @@ PointerAlignment: Left
PPIndentWidth: -1 PPIndentWidth: -1
QualifierAlignment: Leave QualifierAlignment: Leave
ReferenceAlignment: Pointer ReferenceAlignment: Pointer
ReflowComments: false ReflowComments: true
RemoveBracesLLVM: false RemoveBracesLLVM: false
RemoveParentheses: Leave RemoveParentheses: Leave
RemoveSemicolon: false RemoveSemicolon: false