I haven't seen this style before, but LLVM convention is usually to put the 
break inside the braces anyway, so...


On Jan 17, 2013, at 21:50 , Nico Weber <nicolaswe...@gmx.de> wrote:

> Author: nico
> Date: Thu Jan 17 23:50:57 2013
> New Revision: 172789
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=172789&view=rev
> Log:
> Formatter: After case blocks, "break" goes on the same line as the "}", 
> PR14907.
> 
> Before:
> switch (foo) {
> case a: {
>  int a = g();
>  h(a);
> }
>  break;
> }
> 
> Now:
> switch (foo) {
> case a: {
>  int a = g();
>  h(a);
> } break;
> }

_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to