mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-29 15:22:20 +02:00
add clang-tidy configuration
This will allow us to run a static analysis tool, catching the most obvious issues (use-after-free, potential NULL dereference...) and (hopefully) increasing this software's overall robustness.
This commit is contained in:
4
.clang-tidy
Normal file
4
.clang-tidy
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# DeprecatedOrUnsafeBufferHandling requests that we use safe versions
|
||||||
|
# of mem{cpy,set} for example, but this would affect portability
|
||||||
|
Checks: 'clang-diagnostic-*,clang-analyzer-*,-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling'
|
||||||
|
WarningsAsErrors: 'clang-diagnostic-*,clang-analyzer-*'
|
Reference in New Issue
Block a user