I have about 12,000 lines of poorly written C code, for example.
initholeend=(mm_footer *) (end-sizeof(mm_footer));
initholeend->magic=MM_MAGIC;
initholestart->used+=amount;
What I would like to do is automatically add spaces around all binary operands and settings:
initholeend = (mm_footer *) (end - sizeof(mm_footer));
initholeend->magic = MM_MAGIC;
initholestart->used += amount;
Is there a recommended tool for this?
Thanks in advance.
source
share