[cfe-dev] clang-format doesn't generate a nice padding

Arji Cot arjicot at gmail.com
Sat Jul 20 00:36:45 PDT 2013


If I have this piece of code

enum fruits {
    APPLE      = 1,
    ORANGE     = 2,
    STRAWBERRY = 3,
};

after using clang-format on it I got

enum fruits {
  APPLE = 1,
  ORANGE = 2,
  STRAWBERRY = 3,
};

and this happens with any block of code where a nice padding can
potentially really help the situation .

There is a way to use clang-format and generate a nice padding inside the
code ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130720/153abd45/attachment.html>


More information about the cfe-dev mailing list