Sunday, May 10, 2020

Re: Coding standard: AllowShortFunctionsOnASingleLine?

You're not doing anything wrong. The comments you received are incorrect. If you clang-format your files, you'll be fine.

Ron

On 5/10/20 04:08, Christophe Seguinot wrote:

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

No comments:

Post a Comment