Code Formatter for STYLE(9)?

Hans Petter Selasky hps at selasky.org
Thu Mar 24 20:22:19 UTC 2016


On 03/24/16 14:29, Sebastian Huber wrote:
> Hello,
>
> is there a ready to use C code formatter available that honours
> STYLE(9)? I tried clang-format, but it knows only LLVM, Google,
> Chromium, Mozilla by default. The GNU indent --original seems to produce
> nothing usable. Same problem with astyle --style=bsd.
>

Hi,

Maybe you want to contribute to:

https://svnweb.freebsd.org/base/head/tools/tools/indent_wrapper

It also supports diffs.

--HPS


More information about the freebsd-hackers mailing list