[PATCH] D133635: [clang-format] Don't insert braces for loops with a null statement

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 12 00:36:59 PDT 2022


owenpan added a comment.

In D133635#3782222 <https://reviews.llvm.org/D133635#3782222>, @MyDeveloperDay wrote:

> Can't tell you how much I love this `InsertBraces` feature @owenpan,  I work for a team (with a large code base) that uses them all the time, and we are catching missing braces in decade-old code! Thank you

Glad to hear that `InsertBraces` is useful in the real world!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133635



More information about the cfe-commits mailing list