summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-02-15 12:26:56 +0100
committerHampusM <hampus@hampusmat.com>2022-02-15 12:26:56 +0100
commita3d2b8ba701a476babd8b1fa688e1d8964bb2ff4 (patch)
tree575cced58995b543d2530c0be9b24d691f6ad354 /.clang-tidy
parentf7bb32b16978ca8684c9aa438d631f55dcd5b326 (diff)
style: improve clang tidy config
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy10
1 files changed, 5 insertions, 5 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 71be149..4506821 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -11,19 +11,19 @@ Checks: '
-bugprone-lambda-function-name,
-bugprone-reserved-identifier,
-google-readability-braces-around-statements,
- -google-readability-function-size,
+ -google-runtime-int,
-modernize-return-braced-init-list,
-modernize-use-trailing-return-type,
- -modernize-use-auto,
-modernize-deprecated-headers,
-modernize-pass-by-value,
+ -modernize-avoid-c-arrays,
-performance-unnecessary-value-param,
- -readability-make-member-function-const,
-misc-non-private-member-variables-in-classes,
-cppcoreguidelines-non-private-member-variables-in-classes,
+ -cppcoreguidelines-avoid-non-const-global-variables,
+ -cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-no-malloc,
- -cppcoreguidelines-owning-memory,
- -cppcoreguidelines-avoid-non-const-global-variables'
+ -cppcoreguidelines-owning-memory'
WarningsAsErrors: '*'
HeaderFilterRegex: '\/src\/'
AnalyzeTemporaryDtors: false