summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy4
-rw-r--r--wscript1
2 files changed, 4 insertions, 1 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 735dcb0..38c71e0 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -8,6 +8,7 @@ Checks: >
-altera-*,
-bugprone-easily-swappable-parameters,
-bugprone-suspicious-string-compare,
+ -cert-err33-c,
-clang-analyzer-core.CallAndMessage,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-concurrency-mt-unsafe,
@@ -26,8 +27,9 @@ Checks: >
-modernize-use-trailing-return-type,
-performance-no-int-to-ptr,
-readability-function-cognitive-complexity,
+ -readability-identifier-length,
-readability-implicit-bool-conversion,
-readability-non-const-parameter,
WarningsAsErrors: '*'
-HeaderFilterRegex: '.*'
+HeaderFilterRegex: ''
FormatStyle: file
diff --git a/wscript b/wscript
index 2543c65..86cc10e 100644
--- a/wscript
+++ b/wscript
@@ -73,6 +73,7 @@ def configure(conf):
],
'clang': [
'-Wno-cast-qual',
+ '-Wno-declaration-after-statement',
'-Wno-deprecated-declarations', # Mac
'-Wno-disabled-macro-expansion',
'-Wno-padded',