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

Daniel Jasper djasper at google.com
Sun Aug 10 23:43:44 PDT 2014


Ok. I have also come to the conclusion that it is best to have one higher level style choice (I'd name this Linux style and fix it similar to what the K&R style from this patch does) and then give options to "override" each individual brace choice.

Can you fix the Linux style in this patch, basically making it what K&R style does now? We can then add the further options later or when requested. I actually do know codebases where structs are formatted with the brace attached whereas classes are not :-(.

http://reviews.llvm.org/D4837






More information about the cfe-commits mailing list