[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
================
@@ -545,6 +545,8 @@ struct FormatToken {
/// The indent level of this token. Copied from the surrounding line.
unsigned IndentLevel = 0;
+ unsigned ContinuationIndent = 0;
----------------
HazardyKnusperkeks wrote:
Can you add a comment? Also I'm not really happy with the name, but can't give you a better one at the moment. The `ContinuationIndent` is a option of the style, that could lead to confusion.
https://github.com/llvm/llvm-project/pull/191217
More information about the cfe-commits
mailing list