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

Sameer Sahasrabuddhe via llvm-commits llvm-commits at lists.llvm.org
Thu May 7 03:25:51 PDT 2026


ssahasra wrote:

> the definition of that is a mixture of author and reviewer opinions (weighing reviewers more heavily obviously).

It's not obvious to me why reviewers are weighed more heavily. If that is the case, then for the exact same piece of code, exchanging the reviewer and the author will produce a different result. What is that automatically makes the author's opinion weaker than a reviewer, as if the former were a supplicant looking for approval?

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


More information about the llvm-commits mailing list