|
From: | Ron Economos |
Subject: | Re: Coding standard: AllowShortFunctionsOnASingleLine? |
Date: | Sun, 10 May 2020 04:35:55 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
You're not doing anything wrong. The comments you received are incorrect. If you clang-format your files, you'll be fine.
Ron
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
[Prev in Thread] | Current Thread | [Next in Thread] |