How to write custom formatting rules for clang-format?

Viewed 447

Is there any documentation on customizing the behavior of clang-format itself? My Google-fu is failing me. I would like to write some small additional (simple) formatting rules. It seems this is not possible in a simple way, except for patching LibFormat itself which I hope to avoid.

Is there anyone with some experience in this matter? What would be the best approach? Is there some prior art here?

0 Answers
Related