2023-07-07 19:40:36 +00:00
|
|
|
# for clang-tidy-16 from https://clang.llvm.org/extra/clang-tidy/
|
|
|
|
---
|
2023-07-26 20:28:47 +00:00
|
|
|
Checks: >
|
|
|
|
-*,
|
|
|
|
bugprone-*,
|
|
|
|
-bugprone-assignment-in-if-condition,
|
|
|
|
-bugprone-branch-clone,
|
|
|
|
-bugprone-easily-swappable-parameters,
|
2023-08-03 12:20:35 +00:00
|
|
|
-bugprone-empty-catch,
|
2023-07-26 20:28:47 +00:00
|
|
|
-bugprone-implicit-widening-of-multiplication-result,
|
|
|
|
-bugprone-macro-parentheses,
|
|
|
|
-bugprone-narrowing-conversions,
|
|
|
|
-bugprone-reserved-identifier,
|
|
|
|
-bugprone-sizeof-expression,
|
|
|
|
-bugprone-suspicious-include,
|
|
|
|
-bugprone-suspicious-memory-comparison,
|
|
|
|
-bugprone-suspicious-string-compare,
|
2023-08-03 12:20:35 +00:00
|
|
|
-bugprone-switch-missing-default-case,
|
2023-07-26 20:28:47 +00:00
|
|
|
clang-analyzer-*,
|
|
|
|
-clang-analyzer-optin.performance.Padding,
|
|
|
|
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
|
|
|
|
-clang-analyzer-security.insecureAPI.strcpy,
|
|
|
|
clang-diagnostics-*',
|
2023-07-31 12:49:48 +00:00
|
|
|
performance-*,
|
2023-08-03 12:20:35 +00:00
|
|
|
-performance-avoid-endl,
|
2023-07-31 12:49:48 +00:00
|
|
|
-performance-unnecessary-value-param,
|
2023-07-07 19:40:36 +00:00
|
|
|
FormatStyle: file
|
|
|
|
HeaderFilterRegex: '.*'
|
2023-07-31 12:49:48 +00:00
|
|
|
InheritParentConfig: false
|
2023-07-07 19:40:36 +00:00
|
|
|
...
|