1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-07-04 02:43:15 +00:00
Commit Graph

45 Commits

Author SHA1 Message Date
Carles Fernandez
a754a070a1
Fix API usage errors 2019-08-19 16:13:23 +02:00
Carles Fernandez
730769d5f3 Fix API usage errors 2019-08-19 13:11:13 +02:00
Carles Fernandez
d4bb6e5731
Always have a space between // and comment 2019-08-18 22:16:13 +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
e89a92469b
Remove all c-style casts 2019-08-16 15:19:31 +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
bbaa9310ec
Ensure that buffers are always terminated 2019-08-13 20:49:48 +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
487010346f
Apply readability-isolate-declaration clang-tidy check 2019-08-13 00:19:31 +02:00
Carles Fernandez
56b65df044
Improve initialization
Works in Linux and MacOS
2019-07-26 00:55:16 +02: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
9b94a4dec0 Add more imported targets to CMake scripts 2019-02-04 16:07:29 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +01:00
Carles Fernandez
5f79053d65
Sort includes automatically with clang-format
Order:
1.- Main header
2.- Local headers
3.- Third-party library headers
4.- System headers

each category sorted lexicographically
2018-12-09 22:00:09 +01:00
Carles Fernandez
8925ca7066
Fix building in Mac OS 2018-12-08 19:08:53 +01:00
Carles Fernandez
17260bbcea
Miscelaneous code improvements by clang-tidy 2018-12-08 18:49:31 +01:00
Carles Fernandez
81a4d24ae9
Use nullptr 2018-12-07 21:00:30 +01:00
Carles Fernandez
327fec627c clang-tidy: apply readability-else-after-return fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html) 2018-12-03 22:08:19 +01:00
Carles Fernandez
0d408a6024 clang-tidy: apply modernize-use-auto fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html) 2018-12-03 16:25:11 +01:00
Carles Fernandez
9d94910e1b
Fix building 2018-12-03 10:12:38 +01:00
Carles Fernandez
0a46cb1fe1
Use nullptr 2018-12-03 10:05:47 +01:00
Carles Fernandez
fd2e5d9a00
Improve initialization (fix clang warning) 2018-06-03 19:14:56 +02:00
Carles Fernandez
559cc00bd7
Avoid dereference after null check 2018-05-21 04:05:13 +02:00
Carles Fernandez
7d4fe83fb6
Make Coverity Scan happy 2018-05-19 22:33:03 +02:00
Carles Fernandez
bf23bc1e3e
Make Coverity Scan happy 2018-05-19 20:56:27 +02:00
Carles Fernandez
2b7ccc11b9
Make Coverity Scan happy 2018-05-19 20:42:50 +02:00
Carles Fernandez
0f4306d0d9
Avoid uninitialized variable 2018-05-19 17:08:13 +02:00
Carles Fernandez
046a24e0ca
Fix typo 2018-05-16 21:51:20 +02:00
Carles Fernandez
835cf3b11e
Rename CMake module for gr-iio to a more consistent name. Minor fixes 2018-05-16 21:33:52 +02:00
Carles Fernandez
1195234df1
Fix warnings raised by GCC 8.1.1 2018-05-16 18:32:27 +02:00
Carles Fernandez
0400034d14 Fix typos detected by codespell 2018-03-25 19:47:28 +02:00
Carles Fernandez
34f24562cf Apply automated code formatting
Documented at .clang-format
See http://clang.llvm.org/docs/ClangFormat.html and http://clang.llvm.org/docs/ClangFormatStyleOptions.html
2018-03-03 02:03:39 +01:00
Carles Fernandez
a7fbde50e6 Improve buffer handling. Remove warnings raised by gcc 7.1 2017-08-06 10:26:56 +02:00
Carles Fernandez
21bf5291f9 Fix defects detected by coverity scan 2017-06-07 16:39:27 +02:00
Carles Fernandez
2253b29bf1 Fix defects detected by coverity scan 2017-06-07 14:51:26 +02:00
Carles Fernandez
96f3599a29 Stylishing code 2017-05-13 21:08:42 +02:00
Carles Fernandez
495813c969 Fix more warnings 2017-05-13 19:35:20 +02:00
Carles Fernandez
30e634d408 Fix more warnings 2017-05-13 12:07:16 +02:00
Carles Fernandez
8f9aba298f Remove warnings in gcc 2017-05-13 10:41:35 +02:00
Carles Fernandez
44ba718de4 Fix compilation in gcc 2017-05-12 19:40:51 +02:00
Carles Fernandez
c804fb8d6f Add work on rtklib functions 2017-05-12 19:22:57 +02:00
Carles Fernandez
9da436ec87 add more work on rtklib functions 2017-05-12 17:47:09 +02:00
Carles Fernandez
833192e183 Add more work on rtklib files 2017-05-12 12:17:42 +02:00