[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
Sat Apr 11 13:11:33 PDT 2026
================
@@ -860,6 +864,21 @@ struct FormatToken {
/*CPlusPlus11=*/true);
}
+ template <typename T> [[nodiscard]] FormatToken *getPrevious(T A1) const {
+ FormatToken *Tok = Previous;
+ while (Tok && !Tok->is(A1))
----------------
HazardyKnusperkeks wrote:
```suggestion
while (Tok && Tok->isNot(A1))
```
https://github.com/llvm/llvm-project/pull/191217
More information about the cfe-commits
mailing list