From d6e6847038077d5de136fff8a4aea3d1483a976d Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 4 Oct 2023 13:45:19 +0200 Subject: [PATCH] Clang-tidy: enable check google-explicit-constructor Currently this check isn't enabled but when pushing a PR then the lint checker warns about non-explicit constructors which is a bit annoying because the PR must be updated to fix the warning or in most cases it won't be fixed at all. By enabling this check the developer already sees the warning before pushing a PR. --- .clang-tidy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index d47ef7d8b5..b800bcb21c 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,6 +1,6 @@ --- Checks: 'clang-diagnostic-*,clang-analyzer-*,boost-*,bugprone-*, -performance-*,readability-*,portability-*,modernize-*,cppcoreguidelines-*, +performance-*,readability-*,portability-*,modernize-*,cppcoreguidelines-*,google-explicit-constructor, concurrency-*,-modernize-use-trailing-return-type, -modernize-use-nodiscard, -readability-redundant-access-specifiers,-readability-qualified-auto' WarningsAsErrors: ''