https://bugs.documentfoundation.org/show_bug.cgi?id=123936

Stephan Bergmann <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #8 from Stephan Bergmann <[email protected]> ---
But note that unconditional application of clang-format will, in general, break
the meaning of comments.  Consider code like

  LooooooongType1 looooooongVarName1;
      // lengthy comment about some detail
  LooooooongType2 looooooongVarName2;

where the comment pertains to the preceding line, but needs to go on a new line
due to line length limitations, and is indented to make that clear.  It will
get reformatted as

  LooooooongType1 looooooongVarName1;
  // lengthy comment about some detail
  LooooooongType2 looooooongVarName2;

making it less obvious whether the comment pertains to the preceding or to the
following line.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to