summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2021-08-03 10:32:16 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2021-08-03 10:35:11 +0300
commitce611f93d7b7e131143d6b043ded025c7e28509d (patch)
treee0b1f7e05d75cbad145e88ed27d2550917ac80d2 /.clang-tidy
parent476646bbf9a756407a8c1687fdc8b4320999d58c (diff)
Add clang-tidy configuration
Use with `ninja -C builddir clang-tidy` Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy5
1 files changed, 5 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000..632e86c
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,5 @@
+Checks: 'concurrency-*,bugprone-*,performance-*,portability-*,-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling'
+HeaderFilterRegex: '(lib|tests)/.*'
+CheckOptions:
+ - key: bugprone-reserved-identifier.AllowedIdentifiers
+ value: '__ICIPC_CLIENT_H__;__ICIPC_DEFS_H__;__ICIPC_H__;__ICIPC_PRIVATE_H__;__ICIPC_PROTOCOL_H__;__ICIPC_RECEIVER_H__;__ICIPC_SENDER_H__;__ICIPC_SERVER_H__'