From c5d74818eb485a84a55c77fc78ca2a782c985ab8 Mon Sep 17 00:00:00 2001 From: elsid Date: Sun, 20 Jul 2025 11:09:20 +0200 Subject: [PATCH] Disable portability-template-virtual-member-function clang tidy warning There is no compatibility problem in practice. /home/elsid/dev/openmw/components/settings/sanitizer.hpp:11:19: error: unspecified virtual member function instantiation; the virtual member function is not instantiated but it might be with a different compiler [portability-template-virtual-member-function,-warnings-as-errors] 11 | virtual T apply(const T& value) const = 0; | ^ /home/elsid/dev/openmw/components/settings/sanitizerimpl.cpp:20:28: note: template instantiated here 20 | struct Max final : Sanitizer | ^ --- .clang-tidy | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-tidy b/.clang-tidy index 90c72765ca..8597ea5c13 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,6 +1,7 @@ Checks: > -*, portability-*, + -portability-template-virtual-member-function, clang-analyzer-*, -clang-analyzer-optin.*, -clang-analyzer-cplusplus.NewDeleteLeaks,