[cfe-dev] clang-format of switch

Daniel Dilts diltsman at gmail.com
Tue Nov 4 15:43:45 PST 2014

I have code similar to the following:

void func()
   int i;
   case 0:
      i = 5;
   case 1:

I would expect the curly braces for case 1 to be indented from where they
are, but they stay at the same indentation level as the label.  Is this the
way this is supposed to be have, or is there some option (other than
IndentCaseLabels) that controls this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20141104/d2324699/attachment.html>

More information about the cfe-dev mailing list