[PATCH] D116527: [clang-format] Fix indentation for array variables with alignment of consecutive assignments and declarations.

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 4 00:18:06 PST 2022


MyDeveloperDay added a comment.

Could we resolve this with just

  // Continued braced list.
  if (Changes[ScopeStart - 2].Tok->isNot(tok::identifier) &&
      Changes[ScopeStart - 1].Tok->is(tok::l_brace) &&
      Changes[i].Tok->isNot(tok::r_brace))
    return true;


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116527/new/

https://reviews.llvm.org/D116527



More information about the cfe-commits mailing list