[PATCH] D154755: [clang-format] Fix formatting of if statements with BlockIndent

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 19 01:44:30 PDT 2023


MyDeveloperDay added a comment.

It looks like this was added in D109557: Adds a BlockIndent option to AlignAfterOpenBracket <https://reviews.llvm.org/D109557> I'm trying to understand what bad stuff happens if you remove the "if" from

`return !(Previous && Previous->is(tok::kw_for));`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154755



More information about the cfe-commits mailing list