You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
formatting oscillates between the two ways shown below each time it is reformatted with 19.1.0-rc3 and also main as of 114ff99. version 18 consistently chose the first one, fwiw.
.clang-format contents:
---
Language: CppIndentWidth: 4
MYMACRO(Val1,
A, // a comment// a comment
AA, // a comment
);
MYMACRO(Val1,
A, // a comment// a comment
AA, // a comment
);
The text was updated successfully, but these errors were encountered:
formatting oscillates between the two ways shown below each time it is reformatted with 19.1.0-rc3 and also main as of 114ff99. version 18 consistently chose the first one, fwiw.
.clang-format contents:
---
Language: CppIndentWidth: 4
MYMACRO(Val1,
A, // a comment// a comment
AA, // a comment
);
MYMACRO(Val1,
A, // a comment// a comment
AA, // a comment
);
owenca
changed the title
[clang-format] [regression] formatting of comment not stable; oscillates between two ways
[clang-format] formatting of comment not stable; oscillates between two ways
Sep 2, 2024
formatting oscillates between the two ways shown below each time it is reformatted with 19.1.0-rc3 and also main as of 114ff99.
version 18 consistently chose the first one, fwiw..clang-format contents:
The text was updated successfully, but these errors were encountered: