2024-03-08 10:52:44 +00:00
|
|
|
# vim:set ft=yaml ts=2 sw=2 et:
|
|
|
|
# Copyright (C) Markus Franz Xaver Johannes Oberhumer
|
2024-03-23 19:18:28 +00:00
|
|
|
# for clang-tidy from https://clang.llvm.org/extra/clang-tidy/
|
2023-07-07 19:40:36 +00:00
|
|
|
---
|
2023-07-26 20:28:47 +00:00
|
|
|
Checks: >
|
|
|
|
-*,
|
|
|
|
bugprone-*,
|
|
|
|
-bugprone-assignment-in-if-condition,
|
|
|
|
-bugprone-branch-clone,
|
2024-05-06 03:40:22 +00:00
|
|
|
-bugprone-casting-through-void,
|
2023-07-26 20:28:47 +00:00
|
|
|
-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,
|
2024-05-06 03:40:22 +00:00
|
|
|
-bugprone-inc-dec-in-conditions,
|
2023-07-26 20:28:47 +00:00
|
|
|
-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,
|
2024-04-20 10:29:32 +00:00
|
|
|
clang-diagnostic-*,
|
2023-07-31 12:49:48 +00:00
|
|
|
performance-*,
|
2023-08-03 12:20:35 +00:00
|
|
|
-performance-avoid-endl,
|
2024-05-06 03:40:22 +00:00
|
|
|
-performance-enum-size,
|
2024-05-08 13:12:57 +00:00
|
|
|
-performance-no-int-to-ptr,
|
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
|
|
|
...
|