From 7dcc8ae2ea9f089cb410cb6dec39f3117427a1d4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 2 Jan 2021 14:48:18 +0100 Subject: Suppress warnings about redundant "override" --- include/.clang-tidy | 6 ++++++ test/.clang-tidy | 6 ++++++ 2 files changed, 12 insertions(+) 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 -- cgit v1.2.1