summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/.clang-tidy6
-rw-r--r--test/.clang-tidy6
2 files changed, 12 insertions, 0 deletions
diff --git a/include/.clang-tidy b/include/.clang-tidy
index 4298558..6bc88d2 100644
--- a/include/.clang-tidy
+++ b/include/.clang-tidy
@@ -21,6 +21,12 @@ Checks: >
-modernize-use-trailing-return-type,
-readability-implicit-bool-conversion,
-readability-use-anyofallof,
+CheckOptions:
+ - key: modernize-use-override.AllowOverrideAndFinal
+ value: 'true'
+CheckOptions:
+ - key: cppcoreguidelines-explicit-virtual-functions.AllowOverrideAndFinal
+ value: 'true'
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
FormatStyle: file
diff --git a/test/.clang-tidy b/test/.clang-tidy
index d22cba7..1ee750a 100644
--- a/test/.clang-tidy
+++ b/test/.clang-tidy
@@ -26,6 +26,12 @@ Checks: >
-modernize-use-trailing-return-type,
-readability-implicit-bool-conversion,
-readability-use-anyofallof,
+CheckOptions:
+ - key: modernize-use-override.AllowOverrideAndFinal
+ value: 'true'
+CheckOptions:
+ - key: cppcoreguidelines-explicit-virtual-functions.AllowOverrideAndFinal
+ value: 'true'
HeaderFilterRegex: '.*'
FormatStyle: file