Commit Graph

20 Commits

Author SHA1 Message Date
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