I tried clang-format at home and it is indeed a very nice tool. I would like to use it at work too. However, our coding style requires Whitesmiths indenting ( https://en.wikipedia.org/wiki/Indent_style#Whitesmiths_style ) and I don’t seem to be able to get the configuration parameters right to get that. Is it supported? Has someone succeeded in achieving this formatting? Thanks.