Carles Fernandez
1ad1366938
clang-tidy: apply readability-inconsistent-declaration-parameter-name check
2019-02-21 11:03:35 +01:00
Carles Fernandez
b3ae2c969a
clang-tidy: apply fixes
2019-02-21 10:33:20 +01:00
Carles Fernandez
9bc771bed6
Deploy a new option -DENABLE_CLANG_TIDY to integrate clang-tidy checks and fixes into the compilation process, if found. It defaults to OFF
2019-02-21 09:59:06 +01:00
Carles Fernandez
0715c4de45
clang-tidy: add and apply readability-inconsistent-declaration-parameter-name check
2019-02-20 23:36:26 +01:00
Carles Fernandez
88147d4956
Fix build with Clang (not AppleClang) on macOS
2019-02-20 22:21:53 +01:00
Carles Fernandez
a154f90bf5
Fix bug in telemetry message handling
2019-02-19 18:20:58 +01:00
Carles Fernandez
eedc3d5de6
clang-tidy: apply checks
2019-02-19 09:08:09 +01:00
Carles Fernandez
39fd9cbf9e
Merge branch 'acebrianjuan-monitor-decimator-name' into next
2019-02-18 22:38:54 +01:00
Carles Fernandez
a927710607
Merge branch 'monitor-decimator-name' of https://github.com/acebrianjuan/gnss-sdr into acebrianjuan-monitor-decimator-name
2019-02-18 22:36:46 +01:00
Carles Fernandez
b5e5277662
Fix random crashes when program ended in macOS
...
The program randomly crashed when destroying the pvt block (EXC_BAD_ACCESS). This didn’t happen on Linux.
Beidou PVT fixes not available in macOS until finding the root cause.
2019-02-18 22:29:50 +01:00
Carles Fernandez
4784a58af0
Remove unused definitions
2019-02-18 22:20:32 +01:00
Carles Fernandez
1decfcc488
Remove unused checks
2019-02-18 21:45:12 +01:00
Carles Fernandez
82b7a244eb
Small fixes
2019-02-18 21:44:19 +01:00
Álvaro Cebrián Juan
e8fa2a0932
Rename the decimation factor parameter of the Monitor block configuration from output_rate_ms to decimation_factor
2019-02-18 17:51:02 +01:00
Carles Fernandez
b3f1cdb5fc
Rely in CMake fallback for C++ standard
2019-02-18 05:51:25 +01:00
Carles Fernandez
9cdee7ee22
Add C extensions needed by SUPL
2019-02-18 04:58:03 +01:00
Carles Fernandez
8cab43ea6a
Cosmetic fix
2019-02-17 13:36:53 +01:00
Carles Fernandez
83501f86f5
Fix headers
2019-02-17 13:36:33 +01:00
Carles Fernandez
0a1df17cca
Fix building in debug mode
...
Fixes for macOS
2019-02-17 13:36:13 +01:00
Carles Fernandez
2da0ef3c84
Improve initialization
2019-02-15 10:02:32 +01:00
Carles Fernandez
890752601d
Fix defects detected by Coverity Scan
2019-02-14 23:44:38 +01:00
Carles Fernandez
b5c59ee6f7
Fix defects detected by Coverity Scan
2019-02-14 22:49:36 +01:00
Carles Fernandez
786118a305
Fix disconection of Monitor block
2019-02-14 16:46:16 +01:00
Carles Fernandez
719af13a33
Remove google-runtime-references check
2019-02-14 12:51:43 +01:00
Carles Fernandez
31383258b0
clang-tidy: apply checks
2019-02-12 15:56:18 +01:00
Carles Fernandez
004dd4a38a
Replace the deprecated branch_path() by parent_path()
2019-02-12 12:57:37 +01:00
Carles Fernandez
111c6291ec
Revert "clang-tidy: apply performance-unnecessary-value-param check"
...
This reverts commit eae967ed1a
.
2019-02-12 12:07:40 +01:00
Carles Fernandez
ef0da0a973
clang-tidy: apply performance-unnecessary-value-param check
2019-02-12 09:16:22 +01:00
Carles Fernandez
9551c5e5a1
clang-tidy: apply performance-unnecessary-value-param check
2019-02-12 02:44:44 +01:00
Carles Fernandez
0c4b68c92d
clang-tidy: apply performance-move-const-arg check
...
See https://clang.llvm.org/extra/clang-tidy/checks/performance-move-const-arg.html
2019-02-12 02:07:06 +01:00
Carles Fernandez
5b50e74ca8
clang-tidy: apply performance-for-range-copy check
...
See https://clang.llvm.org/extra/clang-tidy/checks/performance-for-range-copy.html
2019-02-12 01:25:27 +01:00
Carles Fernandez
eae967ed1a
clang-tidy: apply performance-unnecessary-value-param check
...
See https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html
2019-02-12 01:00:36 +01:00
Carles Fernandez
992fddcc46
Apply clang-tidy checks
2019-02-11 22:45:07 +01:00
Carles Fernandez
4d60ea2e5a
Catch exception by reference
2019-02-11 22:00:48 +01:00
Carles Fernandez
9146b2ef11
Add check options
2019-02-11 21:29:37 +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
d8eaa98e06
Fix building
2019-02-11 19:27:14 +01:00
Carles Fernandez
8c0051ca0b
Apply clang-tidy checks
2019-02-11 18:38:42 +01:00
Carles Fernandez
071915407c
Use empty() instead of size() == 0
2019-02-11 18:36:59 +01:00
Carles Fernandez
c8ae93d2b8
Fix building
2019-02-11 18:36:12 +01:00
Carles Fernandez
6abebac5eb
Make use of cstdint type names
2019-02-11 17:51:20 +01:00
Carles Fernandez
14fb555b3c
Remove modernize-deprecated-headers and modernize-use-using checks since they affect C code
2019-02-11 17:19:51 +01:00
Carles Fernandez
0707963ab5
Use cstdint type names
2019-02-11 17:17:35 +01:00
Carles Fernandez
45b4478047
clang-tidy fixes
2019-02-11 17:15:48 +01:00
Carles Fernandez
dfc963ad86
clang-tidy: apply readability-else-after-return check
...
See https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html
2019-02-11 15:53:50 +01:00
Carles Fernandez
f1871a84e2
clang-tidy: apply checks
2019-02-11 15:33:24 +01:00
Carles Fernandez
18fda22221
Improve const usage
2019-02-11 15:32:06 +01:00
Carles Fernandez
b257c6433f
clang-tidy: apply readability-named-parameter check
...
See https://google.github.io/styleguide/cppguide.html#Function_Declarations_and_Definitions
2019-02-11 15:31:01 +01:00
Carles Fernandez
298a9c2391
clang-tidy: apply readability-container-size-empty check
2019-02-11 14:47:18 +01:00
Carles Fernandez
16bd8aa983
clang-tidy: apply modernize-use-bool-literals check
2019-02-11 13:13:54 +01:00