Carles Fernandez
e80122f4ff
Apply clang tidy checks and clang-format
2019-09-13 08:56:37 +02:00
Carles Fernandez
5b83902d87
Trim snprintf maximum length
2019-08-25 14:59:17 +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
7e16077526
Remove all sprintf usages
...
Replaced by std::snprintf
2019-08-23 20:48:52 +02:00
Carles Fernandez
d4bb6e5731
Always have a space between // and comment
2019-08-18 22:16:13 +02:00
Carles Fernandez
e89a92469b
Remove all c-style casts
2019-08-16 15:19:31 +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
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
471428f867
Fix typos detected by codespell
2019-07-20 12:55:46 +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
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
8ae72fe458
Update to modern CMake usage
2019-02-03 19:24:44 +01:00
Carles Fernandez
432c6b9c70
Miscelaneous clang-tidy fixes
2018-12-14 02:14:43 +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
17260bbcea
Miscelaneous code improvements by clang-tidy
2018-12-08 18:49:31 +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
0a46cb1fe1
Use nullptr
2018-12-03 10:05:47 +01:00
Carles Fernandez
5fc1e018fd
Clean source code, update to new gnss_synchro parameter name
2018-06-05 22:53:34 +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
7bb3581f4b
Improve buffer handling. Remove warnings raised by gcc 7.1
2017-08-06 10:32:12 +02:00
Carles Fernandez
a7fbde50e6
Improve buffer handling. Remove warnings raised by gcc 7.1
2017-08-06 10:26:56 +02:00
Carles Fernandez
0047595373
Fix defects detected by coverity scan
2017-06-06 18:27:54 +02:00
Carles Fernandez
495813c969
Fix more warnings
2017-05-13 19:35:20 +02:00
Carles Fernandez
8f9aba298f
Remove warnings in gcc
2017-05-13 10:41:35 +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