Vim auto-indents macro blocks just fine, and preprocessing isn't compilation. For your edification, clang-format is amazing: https://youtu.be/JSjoCisIHcM?t=1764
Re:Fixing C
by not-much-io on Tuesday April 12, 2016 @06:44AM
(#11478430)
Ah now I see. Although I understand that there are some tools that do this, it is not a trivial process like in many other languages. Thanks for enlightening me.
To make matters worse, you actually need to compile the program in order to determine which macro gets expanded into what amount of braces...