[PATCH] D95168: [clang-format] Add InsertBraces option
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 13 01:55:00 PDT 2021
MyDeveloperDay added a comment.
To confirm
if (x)
for(int i=0;i<10;i++)
foo();
will be transformed to
if (x)
for (int i = 0; i < 10; i++) {
foo();
}
but this itself will NOT be transformed to
if (x) {
for (int i = 0; i < 10; i++) {
foo();
}
}
So definitely we are going to miss some cases.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95168/new/
https://reviews.llvm.org/D95168
More information about the cfe-commits
mailing list