Thursday, December 12, 2024

Re: Need some advice on C semantics.

On 12/12/24 12:13, Kirill A. Korinsky wrote:
> On Thu, 12 Dec 2024 11:54:29 +0100,
> Christian Schulte <cs@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.
>

I am not asking about syntax. I am asking about semantics. Documentation
about best practices used in the OpenBSD source tree I am certain exist
but I am failing to find any documentation about.

--
Christian

No comments:

Post a Comment