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

Gedare Bloom via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 19 09:26:00 PDT 2023


gedare added a comment.

I guess since the current behavior does not treat `if` with block indentation, this bug fix should instead prefer to maintain the current behavior, and if someone wants to have block indentation of `if` it would need to be added as a new style option. Otherwise, this will introduce regressions like that test case.


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