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

Manuel Klimek klimek at google.com
Mon Aug 11 00:50:31 PDT 2014


On Mon, Aug 11, 2014 at 9:20 AM, Roman Kashitsyn <romankashicin at gmail.com>
wrote:

> > 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.
>

I'd basically vote for a Qt style... (that's what Qt projects and KDE uses).


>
> http://reviews.llvm.org/D4837
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140811/fd28f90b/attachment.html>


More information about the cfe-commits mailing list