[PATCH] Fixes bug 20587 - Add K&R break before braces style

Daniel Jasper djasper at google.com
Mon Aug 11 02:08:27 PDT 2014


I think so. Not sure whether it makes sense, but there are definitely arguments for it. astyle conformance is one, but more importantly structs are more of a C-concept and K&R style (well the book) is pretty consistent about attaching the "{" to the struct. Treating the C++ concepts of namespaces and classes differently seems inconsistent but what many projects do.

http://reviews.llvm.org/D4837






More information about the cfe-commits mailing list