summaryrefslogtreecommitdiffstats
path: root/src/gui/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/.clang-tidy')
-rw-r--r--src/gui/.clang-tidy29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gui/.clang-tidy b/src/gui/.clang-tidy
new file mode 100644
index 00000000..99bd2aba
--- /dev/null
+++ b/src/gui/.clang-tidy
@@ -0,0 +1,29 @@
+Checks: >
+ -*-narrowing-conversions,
+ -android-cloexec-*,
+ -bugprone-branch-clone,
+ -bugprone-exception-escape,
+ -bugprone-macro-parentheses,
+ -bugprone-parent-virtual-call,
+ -bugprone-reserved-identifier,
+ -bugprone-suspicious-string-compare,
+ -cert-dcl21-cpp,
+ -cert-dcl37-c,
+ -cert-dcl51-cpp,
+ -cert-err58-cpp,
+ -cert-str34-c,
+ -clang-analyzer-core.CallAndMessage,
+ -cppcoreguidelines-macro-usage,
+ -cppcoreguidelines-pro-bounds-constant-array-index,
+ -cppcoreguidelines-pro-type-static-cast-downcast,
+ -cppcoreguidelines-pro-type-vararg,
+ -cppcoreguidelines-slicing,
+ -google-default-arguments,
+ -google-readability-todo,
+ -google-runtime-int,
+ -google-runtime-references,
+ -hicpp-multiway-paths-covered,
+ -hicpp-vararg,
+ -llvm-header-guard,
+ -readability-convert-member-functions-to-static,
+InheritParentConfig: true