Carles Fernandez
c31d9dea40
Fix errors risen by include_what_you_use
2019-08-17 13:56:54 +02:00
Carles Fernandez
eef3eabbd3
Fix defects
2019-08-17 11:33:38 +02:00
Carles Fernandez
874c92351c
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next
2019-08-17 03:14:13 +02:00
Carles Fernandez
56adcd0e8e
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next
2019-08-16 23:41:50 +02:00
Carles Fernandez
84f944d7fa
Remove logically dead code
2019-08-16 20:18:49 +02:00
Javier Arribas
e6af1a7e44
Simplifiying the RTKLIB error log and avoid msg repetitions
2019-08-16 18:24:01 +02:00
Javier Arribas
5659616dc0
Unifiying and improving DLL PLL binary dump MATLAB plot script
2019-08-16 17:49:16 +02:00
Carles Fernandez
b956a28a0f
Add clang-analyzer-optin.performance.* and clang-analyzer-optin.portability.UnixAPI checks
2019-08-16 16:04:04 +02:00
Carles Fernandez
24570f8a08
Fix performance-inefficient-string-concatenation clang-tidy warning
2019-08-16 16:03:10 +02:00
Carles Fernandez
0066d581a1
Fix warning raised by clang-tidy check cert-flp30-c
...
Loop induction expression should not have floating-point type
2019-08-16 15:37:39 +02:00
Carles Fernandez
e89a92469b
Remove all c-style casts
2019-08-16 15:19:31 +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
3abf82ca2c
Fix possible memory leak
2019-08-16 13:02:11 +02:00
Carles Fernandez
7fed3b8d58
Update changelog
2019-08-16 12:36:59 +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
d298bdf0a9
Remove unused functions with defects in memory management
2019-08-14 20:06:48 +02:00
Carles Fernandez
c52a3dd4b5
Remove unused variables
2019-08-14 12:48:09 +02:00
Carles Fernandez
8a34fa8041
Fix typo
2019-08-14 11:58:35 +02:00
Carles Fernandez
80c4cdd1cb
Avoid usage of variable length arrays, which is a C99 feature
2019-08-14 11:58:00 +02:00
Carles Fernandez
3c92d6a7c6
Improve initialization of random engines
2019-08-14 11:56:55 +02:00
Carles Fernandez
668869ee85
Avoid usage of variable length arrays, which is a C99 feature
2019-08-14 11:13:06 +02:00
Carles Fernandez
4eb8f2c14e
Avoid C99 extensions in initializations
2019-08-14 11:10:51 +02:00
Carles Fernandez
ad617a0c26
Fix receiver reference number in comments
2019-08-14 10:14:43 +02:00
Carles Fernandez
5f176b084c
Replace defines by constants and move them to the implementation
2019-08-14 02:34:00 +02:00
Carles Fernandez
3d146019dd
Apply modernize-redundant-void-arg clang-tidy fix
2019-08-14 02:14:29 +02:00
Carles Fernandez
942ac32701
Add modernize-return-braced-init-list and modernize-shrink-to-fit checks to .clang-tidy file
2019-08-14 01:33:51 +02:00
Carles Fernandez
151a52d3d6
Move default constructor to header file
2019-08-14 01:17:47 +02:00
Carles Fernandez
4560712791
Apply modernize-use-default-member-init and readability-redundant-member-init clang-tidy checks
2019-08-14 00:56:53 +02:00
Carles Fernandez
a66ef4fb34
Apply modernize-redundant-void-arg clang-tidy check
2019-08-14 00:47:48 +02:00
Carles Fernandez
e693e3f1a4
Fix -Wstringop-truncation warning
2019-08-13 22:03:58 +02:00
Carles Fernandez
2771d5b5f2
Remove unused private members
2019-08-13 21:27:17 +02:00
Carles Fernandez
ad477fd12f
Fix warning (unused parameter)
2019-08-13 21:26:36 +02:00
Carles Fernandez
bbaa9310ec
Ensure that buffers are always terminated
2019-08-13 20:49:48 +02:00
Carles Fernandez
47ded00812
Update changelog
2019-08-13 14:46:19 +02:00
Carles Fernandez
b0237d2993
Add clang-analyzer-security.* checks
2019-08-13 14:43:20 +02:00
Carles Fernandez
76515228b0
Avoid garbage values
2019-08-13 14:35:21 +02:00
Carles Fernandez
8867a9327c
Avoid null pointer argument in call to string comparison function
2019-08-13 13:52:43 +02:00
Carles Fernandez
c04ec18ef7
Fix typo
2019-08-13 13:50:07 +02:00
Carles Fernandez
0873d11407
Avoid usage of double as a loop index
2019-08-13 13:49:30 +02:00
Carles Fernandez
1bfa866354
Remove usage of deprecated bzero, replaced by memset
2019-08-13 13:48:17 +02:00
Carles Fernandez
6c5a4c4859
Remove usage of strcpy
...
See CWE-119 https://cwe.mitre.org/data/definitions/119.html
2019-08-13 13:10:45 +02:00
Carles Fernandez
34481bf963
Update changelog
2019-08-13 01:13:36 +02:00
Carles Fernandez
78b07ee7b2
Add checks to .clang-tidy file
2019-08-13 01:11:41 +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
4f9cfedc62
Add more check options to .clang-tidy file
2019-08-12 12:09:05 +02:00
Carles Fernandez
dc4d54b235
Improve wording
2019-08-12 11:53:53 +02:00
Carles Fernandez
3e3af9de5a
Add new configuration option ENABLE_ARMA_NO_DEBUG
...
When enabled, defines the ARMA_NO_DEBUG macro in Armadillo, disabling bound checking.
Disabled by default, but it is set automatically to ON if ENABLE_PACKAGING is set to ON
2019-08-12 11:33:51 +02:00