summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy31
1 files changed, 29 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy
index aa9640c77f..7575d21780 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,4 +1,31 @@
-Checks: '-*,bugprone-*,clang-analyzer-*,google-*,modernize-*,performance-*,-clang-analyzer-osx.*,-google-readability-braces-around-statements,-google-readability-todo,-google-runtime-int,-google-runtime-references,-modernize-avoid-c-arrays'
-WarningsAsErrors: 'bugprone-use-after-move,modernize-*,performance-*'
+Checks: >
+ -*,
+ bugprone-*,
+ clang-diagnostic-*,
+ google-*,
+ misc-*,
+ modernize-*,
+ performance-*,
+ portability-*,
+ readability-*,
+ -bugprone-narrowing-conversions,
+ -google-build-using-namespace,
+ -google-readability-braces-around-statements,
+ -google-readability-todo,
+ -google-runtime-int,
+ -google-runtime-references,
+ -modernize-avoid-c-arrays,
+ -readability-braces-around-statements,
+ -readability-else-after-return,
+ -readability-implicit-bool-conversion,
+ -readability-magic-numbers,
+ -readability-named-parameter,
+ -readability-uppercase-literal-suffix
+
+WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
FormatStyle: file
+
+CheckOptions:
+ - key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
+ value: '1'