ardour/gtk2_ardour/.clang-tidy
David Robillard 2d0b0defdf Add a clean clang-tidy configuration
This configuration just suppresses the necessary clang-* checks which are
enabled by default.  This way has a bit of file spam, but is nice because
different components (in particular, ones actually internal to ardour) can be
audited/strengthened independently.
2023-09-09 23:42:18 -04:00

25 lines
953 B
YAML

Checks: >
-clang-analyzer-core.CallAndMessage,
-clang-analyzer-cplusplus.NewDeleteLeaks,
-clang-analyzer-cplusplus.StringChecker,
-clang-analyzer-deadcode.DeadStores,
-clang-analyzer-optin.cplusplus.UninitializedObject,
-clang-analyzer-optin.cplusplus.VirtualCall,
-clang-analyzer-optin.portability.UnixAPI,
-clang-analyzer-security.FloatLoopCounter,
-clang-analyzer-security.insecureAPI.strcpy,
-clang-analyzer-unix.Malloc,
-clang-diagnostic-#warnings,
-clang-diagnostic-constant-conversion,
-clang-diagnostic-fortify-source,
-clang-diagnostic-implicit-const-int-float-conversion,
-clang-diagnostic-non-virtual-dtor,
-clang-diagnostic-null-dereference,
-clang-diagnostic-self-assign-overloaded,
-clang-diagnostic-switch,
-clang-diagnostic-undefined-bool-conversion,
-clang-diagnostic-unused-but-set-variable,
-clang-diagnostic-unused-const-variable,
-clang-diagnostic-unused-label,
InheritParentConfig: true