[clang] [clang-format] treat continuation as indent for aligned lines (PR #191217)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 9 13:08:35 PDT 2026
================
@@ -1048,7 +1048,7 @@ void BreakableLineCommentSection::reflow(unsigned LineIndex,
// tokens by the empty string.
Whitespaces.replaceWhitespace(
*Tokens[LineIndex], /*Newlines=*/0, /*Spaces=*/0,
- /*StartOfTokenColumn=*/StartColumn, /*IsAligned=*/true,
+ /*StartOfTokenColumn=*/StartColumn, /*AlignedTo=*/nullptr,
----------------
HazardyKnusperkeks wrote:
Why can you replace the `true` with `nullptr` here?
https://github.com/llvm/llvm-project/pull/191217
More information about the cfe-commits
mailing list