[llvm] [RFC][Docs] Clarify brace omission for single-line bodies (PR #195985)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Wed May 6 07:58:31 PDT 2026


jayfoad wrote:

An advantage of the single line rule is that it could be automated with clang-tidy's readability-braces-around-statements with ShortStatementLines=2.

https://github.com/llvm/llvm-project/pull/195985


More information about the llvm-commits mailing list