[PATCH] D26943: [CodingStandards] Add style guide rule about "if" statements and loops.

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 16:09:55 PST 2016


mehdi_amini added a comment.

In https://reviews.llvm.org/D26943#604786, @kparzysz wrote:

> In https://reviews.llvm.org/D26943#604639, @jlebar wrote:
>
> > The cost of not having such a statement is that each reviewer has their own set of rules in their head,
>
>
> That's a problem with reviewers.


Not only, this is part of the "consistency" you mentioned in your second sentence.

> The guidelines should be pretty clear: readability, and consistency. Regulating every little thing is unnecessary.


https://reviews.llvm.org/D26943





More information about the llvm-commits mailing list