================
@@ -545,6 +545,10 @@ struct FormatToken {
   /// The indent level of this token. Copied from the surrounding line.
   unsigned IndentLevel = 0;
 
+  /// Block + continuation indent level, applied by the WhitespaceManager to
+  /// this token.
+  mutable unsigned AppliedIndentLevel = 0;
----------------
zeule wrote:

I'd like to change this into just continuation indent, so that 
`indentLevelFor()`  `return LineStart.IndentLevel + 
LineStart.AppliedContinuationIndentLevel;`, but I'm not sure 
`FormatToken::IndentLevel` is always the block indent.

https://github.com/llvm/llvm-project/pull/191217
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to