[llvm] [RFC][Docs] Clarify brace omission for single-line bodies (PR #195985)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed May 6 02:31:51 PDT 2026
https://github.com/nikic requested changes to this pull request.
I don't believe that this clarification matches current practice.
The current policy explicitly allows omitting braces for *simple* single-statement bodies, where "simple" is not the same as "exactly one line" (as explained in some detail in further bullet points and examples).
https://github.com/llvm/llvm-project/pull/195985
More information about the llvm-commits
mailing list