Add formatter option for case indention style

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Add formatter option for case indention style

Richard Smith via cfe-dev
Hello,

In our Programing Style Guide for c++ we indent by tabs except for
'case' which is indented by single space. Can this option be added into
formatter?

IndentCaseLabels would be three value option:

* true - Indent case labels one level from the switch statement

* false - same indentation level as for the switch statement

* space - Indent case labels by single space

Have a nice day

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev