1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-25 22:43:14 +00:00
Commit Graph

84 Commits

Author SHA1 Message Date
Carles Fernandez
a805940bd7
Fixes for clang-format 13 2021-10-18 18:18:57 +02:00
Carles Fernandez
e96fbb348e
Apply flag also to GCC 2021-10-01 22:41:09 +02:00
Carles Fernandez
e09a37ca61
Fix for very old CMake 2021-09-29 12:54:23 +02:00
Carles Fernandez
fd5698b39d
Fix warning raised by GCC 11. Was: -Wstringop-overflow
warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 1254 |             *bp++ = *p;
      |             ~~~~~~^~~~
2021-09-29 12:52:44 +02:00
Carles Fernandez
4fea48f603
Improve handling of change in GNU Radio 3.9 FFT API
Fix compilation of some optional blocks when linking against GR 3.9

Fix warning -Wembedded-directive: embedding a directive within macro arguments has undefined behavior
2021-01-15 13:39:26 +01:00
Carles Fernandez
25787deca7
Fix assert 2021-01-07 17:25:36 +01:00
Carles Fernandez
7308745f05
Apply more concise file header format
Re-license CMake scripts with BSD-3-Clause
2020-12-30 13:35:06 +01:00
Carles Fernandez
0cb64e86a5
Avoid using reserved identifiers in the SUPL library (clang-tidy check: bugprone-reserved-identifier) 2020-12-29 14:48:41 +01:00
Carles Fernandez
f24064e245
Fixes for changed behavior of clang-format 2020-11-06 10:41:20 +01:00
Carles Fernandez
287284261c
Make use of Doxygen grouping feature
Improve Modules page in generated HTML documentation
2020-11-01 13:37:19 +01:00
Carles Fernandez
499de7a9f1
Update file headers 2020-07-28 16:57:15 +02:00
Carles Fernandez
0df4277d36
Unify criteria in target definitions, more informative names 2020-06-13 00:32:40 +02:00
Carles Fernandez
226689c359
Use target_compile_options instead of CMAKE_C_FLAGS 2020-06-12 22:47:35 +02:00
Carles Fernandez
c2c701d885
Fix warning in CMake < 3.13 2020-06-12 22:33:00 +02:00
Carles Fernandez
2a3d682f1f
Make use of target_sources(), make use of target propagation to reduce redundancy in dependencies, some fixes for Clang and CMake < 3.11. Use generic lambdas with auto 2020-06-08 20:04:01 +02:00
Carles Fernandez
299cb1a2ee
Remove usage of uninitialized variables in CMake scripts
Remove all warnings emitted by cmake --warn-uninitialized ..
2020-02-29 14:33:09 +01:00
Carles Fernandez
2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez
955348b080
Remove trailing underscore in header guards 2020-02-08 10:10:46 +01:00
Carles Fernandez
4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/)
Update license headers to SPDX format (see https://spdx.org/)
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00
Carles Fernandez
7126185515
Add and apply readability-braces-around-statements check 2019-10-11 19:24:20 +02:00
Carles Fernandez
054a20b5bf
Apply clang-format to the whole code tree 2019-10-11 11:57:33 +02:00
Carles Fernandez
64e7a7995b
Remove unused variables 2019-10-06 01:31:36 +02:00
Carles Fernandez
73e6d6aa1f
Fix warning 2019-10-05 21:29:23 +02:00
Carles Fernandez
cc2d723520
Apply clang-format to SUPL libraries 2019-10-05 10:29:46 +02:00
Carles Fernandez
af2d38bed9
Revert back Armadillo to 9.800.x 2019-10-05 03:32:53 +02:00
Carles Fernandez
c9e03557b7
Remove tabs 2019-10-05 03:16:31 +02:00
Carles Fernandez
a6e062492e
Allow edition of files with editors compatible with clang-format 2019-09-18 22:01:50 +02:00
Carles Fernandez
38ceb848f5
Fix memory leak 2019-08-25 11:47:49 +02:00
Carles Fernandez
df05c7418e
Fix bugprone-too-small-loop-variable clang-tidy check warnings 2019-08-24 17:34:12 +02:00
Carles Fernandez
c579aed27c Fix portability warnings 2019-08-19 12:21:43 +02:00
Carles Fernandez
d4bb6e5731
Always have a space between // and comment 2019-08-18 22:16:13 +02:00
Carles Fernandez
591dd6cbb9
Fixes for 32-bit archs 2019-08-17 16:06:39 +02:00
Carles Fernandez
e4c3ee7527
Remove redundant blank lines at the end of a code block 2019-08-17 15:29:31 +02:00
Carles Fernandez
c5b3e7597a
Remove tabs 2019-08-17 14:41:32 +02:00
Carles Fernandez
eef3eabbd3
Fix defects 2019-08-17 11:33:38 +02:00
Carles Fernandez
db2638ad46
Fix clang-analyzer-optin.portability.UnixAPI clang-tidy check warnings 2019-08-16 15:12:45 +02:00
Carles Fernandez
c5f4a54aac
Avoid implementation-defined behavior of shifting left a signed variable 2019-08-16 11:55:52 +02:00
Carles Fernandez
d469c694e2
Apply default clang-tidy check 2019-08-13 01:06:47 +02:00
Carles Fernandez
487010346f
Apply readability-isolate-declaration clang-tidy check 2019-08-13 00:19:31 +02:00
Carles Fernandez
b16ee3d919
Apply readability-redundant-control-flow check 2019-08-12 22:54:27 +02:00
Carles Fernandez
1c67a10936
Apply google-readability-casting check 2019-08-12 21:28:10 +02:00
Carles Fernandez
070996cdb4
Apply clang-tidy check readability-else-after-return 2019-08-04 13:15:03 +02:00
Carles Fernandez
471428f867
Fix typos detected by codespell 2019-07-20 12:55:46 +02:00
Carles Fernandez
1dfa169bbb
Fix memory leak 2019-07-12 21:59:14 +02:00
Carles Fernandez
62a7e54359
Introduce readability-identifier-naming check
This commit enforces naming style for Classes and global constants:
Camel_Snake_Case for Classes
UPPER_CASE for global constants
CamelCase for abstract classes
2019-02-22 10:47:24 +01:00
Carles Fernandez
1ad1366938
clang-tidy: apply readability-inconsistent-declaration-parameter-name check 2019-02-21 11:03:35 +01:00
Carles Fernandez
73b7341904
clang-tidy: apply readability-braces-around-statements plus code formatting
See http://releases.llvm.org/7.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability-braces-around-statements.html
Code formatting applied with:
  find ../src/ -iname *.h -o -iname *.cc | xargs clang-format -i
2019-02-11 21:13:02 +01:00
Carles Fernandez
45b4478047 clang-tidy fixes 2019-02-11 17:15:48 +01:00
Carles Fernandez
75bd492d96
Change CMake target names to more meaningful ones, reflecting the code tree 2019-02-10 18:34:28 +01:00
Carles Fernandez
ce051e040f
Improve target design 2019-02-10 01:13:02 +01:00