fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/43602?usp=email )
Change subject: .checkpatch.c++.conf: --ignore LEADING_SPACE ......................................................................
.checkpatch.c++.conf: --ignore LEADING_SPACE
checkpatch complains about leading spaces in C++ header files.
For instance, the following code:
``` class Transceiver { public: Transceiver(const struct trx_cfg *cfg, ...); ```
fails with:
WARNING:LEADING_SPACE: please, no spaces at the start of a line
Ignore it for C++, like the other rules already excluded there.
Change-Id: I542cd4e393c218979e78f56c7d3f9d2ed6d6f379 --- M .checkpatch.c++.conf 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/02/43602/1
diff --git a/.checkpatch.c++.conf b/.checkpatch.c++.conf index 907c8b3..dbc7bfc 100644 --- a/.checkpatch.c++.conf +++ b/.checkpatch.c++.conf @@ -5,3 +5,4 @@ --ignore INDENTED_LABEL --ignore NEW_TYPEDEFS --ignore SPACING +--ignore LEADING_SPACE