[PATCH] D95168: [clang-format] Add InsertBraces option

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 2 04:15:34 PDT 2021


MyDeveloperDay added a comment.

This is a demo of what I mean {https://reviews.llvm.org/D113000} you can see its pretty aggressive, I could kind of imagine people wanting a little more control

Sometimes this feels inconsistent

F20029866: image.png <https://reviews.llvm.org/F20029866>

and in this case the expression seem so separated from the if() that you might want to keep the {}

F20029887: image.png <https://reviews.llvm.org/F20029887>


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

https://reviews.llvm.org/D95168



More information about the cfe-commits mailing list