Commit Graph

28 Commits

Author SHA1 Message Date
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 0520d400b3 Apply clang-tidy 2019-09-11 22:31:34 +00:00
Carles Fernandez a0a0a7e1c8
Add clang-tidy bugprone checks 2019-08-24 17:38:32 +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 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 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 b0237d2993
Add clang-analyzer-security.* checks 2019-08-13 14:43:20 +02:00
Carles Fernandez 78b07ee7b2
Add checks to .clang-tidy file 2019-08-13 01:11:41 +02:00
Carles Fernandez 4f9cfedc62
Add more check options to .clang-tidy file 2019-08-12 12:09:05 +02:00
Carles Fernandez 5e5c68c2f9
Add more performance and high integrity checks 2019-07-30 19:07:36 +02:00
Carles Fernandez cc54b4a122 Enforce rule 15.1 of the High Integrity C++ Coding Standard
See https://www.perforce.com/resources/qac/high-integrity-c-coding-standard-exception-handling
2019-07-30 12:51:36 +02:00
Carles Fernandez 6911ad8fce
Remove performance-unnecessary-copy-initialization clang-tidy check
Applying its fixes breaks building when using clnag 8.0 :-(
2019-06-15 13:07:09 +02:00
Carles Fernandez 68bb71e593
Add readability-identifier-naming keys 2019-02-22 12:47:21 +01: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 1e356ad8dc
clang-tidy: add and apply misc-unused-using-decls check 2019-02-21 13:36:21 +01:00
Carles Fernandez 78afe4834d
Improve readability 2019-02-21 11:23:25 +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 719af13a33 Remove google-runtime-references check 2019-02-14 12:51:43 +01:00
Carles Fernandez 9146b2ef11
Add check options 2019-02-11 21:29:37 +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 64f7a900c6 Remove llvm-header-guard filter 2019-02-11 11:26:43 +01:00
Carles Fernandez 38858dece6
Apply clang-tidy fix readability-non-const-parameter 2018-12-11 12:38:38 +01:00
Carles Fernandez 27b7a93181
Apply clang-tidy fix readability-container-size-empty 2018-12-11 12:25:38 +01:00
Carles Fernandez f351615ef9
Apply clang-tidy fix modernize-use-bool-literals 2018-12-11 12:08:54 +01:00
Carles Fernandez 54237770a6
Apply fixes by clang-tidy 2018-12-10 22:59:10 +01:00
Carles Fernandez add5ba8112
Add .clang-tidy file and generate a compile_commands.json file containing the exact compiler calls for all translation units of the project in machine-readable form if clang-tidy is detected 2018-12-08 23:16:10 +01:00