uncrustify.cfg

Added by IR4T4 about 7 years ago

I would like to change sp_type_func to 'force’

  1. Add or remove space between return type and function name
  2. A minimum of 1 is forced except for pointer return types.
    sp_type_func = force # ignore/add/remove/force

We have several functions using more spaces.


Replies (3)

RE: uncrustify.cfg - Added by Radegast almost 7 years ago

IR4T4, which version of uncrustify do you use? I see some of the files you uncrustified were not correctly formatted, e.g. source:src/game/g_match.c. There were spaces used for indentation of some lines instead of tabs.

RE: uncrustify.cfg - Added by IR4T4 almost 7 years ago

uncrustify 0.56

RE: uncrustify.cfg - Added by Radegast almost 7 years ago

That’s almost three years old release! Could you try upgrading to 0.59 or even better to compile it from git and see if it still reformats source:src/game/g_match.c with spaces?

(1-3/3)