[clang] [clang-format] Add BreakAfterOpenBracket* and BreakBeforeCloseBracket* (PR #108332)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 25 11:54:42 PDT 2025
================
@@ -650,6 +650,12 @@ struct FormatToken {
(endsSequence(tok::identifier, tok::kw_if) && AllowConstexprMacro);
}
+ bool isLoop(const FormatStyle &Style) const {
+ return this->isOneOf(tok::kw_for, tok::kw_while) ||
----------------
HazardyKnusperkeks wrote:
Drop the `this`.
https://github.com/llvm/llvm-project/pull/108332
More information about the cfe-commits
mailing list