discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Coding standard: AllowShortFunctionsOnASingleLine?


From: Christophe Seguinot
Subject: Coding standard: AllowShortFunctionsOnASingleLine?
Date: Sun, 10 May 2020 13:08:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

Hi

I recently submitted an "add eye_sink" PR. (as I'm not familiar with PR, I made several attempts/close :  correct coding standard and new line at EOF....)

I'm sucked on a request to use the following format for short function

    function()
    {
        code;
    }

However  using   GNURadio coding standard clang-format  uses the directive:

    AllowShortFunctionsOnASingleLine: All

which format short function on a single line.

What am I doing wrong?

Please could someone guide me to the right direction so that my next PR will be the good one?

Regards


reply via email to

[Prev in Thread] Current Thread [Next in Thread]