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

Roman Kashitsyn romankashicin at gmail.com
Mon Aug 11 00:20:00 PDT 2014


> Can you fix the Linux style in this patch, basically making it what K&R style does now? 
Ok.

>  actually do know codebases where structs are formatted with the brace attached whereas classes are not :-(.
Possibly, they use AStyle for formatting :) I think fine-grained options is a good solution for such codebases. In addition, it's still trivial enough to provide "ArtisticStyleLinux" option to support the codebases.

http://reviews.llvm.org/D4837






More information about the cfe-commits mailing list