On Thu, 12 Dec 2024 11:54:29 +0100, Christian Schulte <c...@schulte.it> wrote: > > is there something specific for OpenBSD like style(9) but for semantics? > I understand that style(9) is all about syntax. As a long term Java > developer having lost all interest in Java, I am searching for something > like PMD, Checkstyle etc. for C and rules OpenBSD developers tend to > adhere to. Recently read some C comments like >
Probably you're looking for clang-format which can be installed as part of devel/clang-tools-extra. -- wbr, Kirill