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

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 17:08:40 PST 2016


kparzysz added a comment.

In https://reviews.llvm.org/D26943#605034, @chandlerc wrote:

> If we can't agree on a single consistent style between these two alternatives, then perhaps we end up saying both are acceptable and letting code reviewers choose, but I would generally prefer having clear guidance here.


I agree with this, except that I'd say "letting the authors choose".  There is more than one way to make code fit in with the rest and be readable.


https://reviews.llvm.org/D26943





More information about the llvm-commits mailing list