summaryrefslogtreecommitdiffstats
path: root/etc/clang-tidy
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:40:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:40:15 +0000
commit399644e47874bff147afb19c89228901ac39340e (patch)
tree1c4c0b733f4c16b5783b41bebb19194a9ef62ad1 /etc/clang-tidy
parentInitial commit. (diff)
downloadmanpages-399644e47874bff147afb19c89228901ac39340e.tar.xz
manpages-399644e47874bff147afb19c89228901ac39340e.zip
Adding upstream version 6.05.01.upstream/6.05.01
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'etc/clang-tidy')
-rw-r--r--etc/clang-tidy/config.yaml51
1 files changed, 51 insertions, 0 deletions
diff --git a/etc/clang-tidy/config.yaml b/etc/clang-tidy/config.yaml
new file mode 100644
index 0000000..c9bcbae
--- /dev/null
+++ b/etc/clang-tidy/config.yaml
@@ -0,0 +1,51 @@
+---
+Checks: >
+ *,
+ -altera-id-dependent-backward-branch,
+ -altera-unroll-loops,
+ -android-cloexec-accept,
+ -android-cloexec-dup,
+ -android-cloexec-fopen,
+ -android-cloexec-memfd-create,
+ -android-cloexec-open,
+ -android-cloexec-pipe,
+ -bugprone-easily-swappable-parameters,
+ -bugprone-implicit-widening-of-multiplication-result,
+ -bugprone-reserved-identifier,
+ -cert-dcl37-c,
+ -cert-dcl51-cpp,
+ -cert-env33-c,
+ -cert-err33-c,
+ -cert-err34-c,
+ -cert-msc30-c,
+ -cert-msc50-cpp,
+ -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
+ -concurrency-mt-unsafe,
+ -cppcoreguidelines-avoid-non-const-global-variables,
+ -cppcoreguidelines-init-variables,
+ -google-readability-braces-around-statements,
+ -hicpp-braces-around-statements,
+ -hicpp-no-assembler,
+ -llvmlibc-restrict-system-libc-headers,
+ -misc-no-recursion,
+ -readability-braces-around-statements,
+ -readability-function-cognitive-complexity,
+ -readability-identifier-length,
+ -readability-isolate-declaration,
+
+WarningsAsErrors: >
+ *,
+ -altera-struct-pack-align,
+ -bugprone-narrowing-conversions,
+ -clang-diagnostic-format,
+ -clang-diagnostic-sign-compare,
+ -clang-diagnostic-uninitialized,
+ -clang-diagnostic-unused-parameter,
+ -cppcoreguidelines-avoid-magic-numbers,
+ -cppcoreguidelines-narrowing-conversions,
+ -hicpp-multiway-paths-covered,
+ -hicpp-signed-bitwise,
+ -misc-unused-parameters,
+ -performance-no-int-to-ptr,
+ -readability-magic-numbers,
+...