================
@@ -942,6 +942,26 @@ void ContinuationIndenter::addTokenOnCurrentLine(LineState
&State, bool DryRun,
}
return false;
};
+
+ auto ShouldBreakAfterOpeningBracket = [&](const FormatToken &Tok) {
+ // Suppose that IsOpeningBracket returned true for a Tok
+
+ // Corresponds to BreakAfterOpenBracketBracedList
+ if (Tok.is(tok::l_brace))
+ return true;
+
+ const auto *Before = Tok.Previous;
----------------
ChrisLee02 wrote:
Thank you!
Updated in
https://github.com/llvm/llvm-project/pull/228085/commits/d1c78b68550d6edd959e8dfb7f27601acb7450e9,
including other reviews.
https://github.com/llvm/llvm-project/pull/228085
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits