[cfe-dev] Add formatter option for case indention style

Oto BREZINA via cfe-dev cfe-dev at lists.llvm.org
Fri Dec 21 06:20:30 PST 2018


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




More information about the cfe-dev mailing list