From f8da4269d860cf3f2637b21b10c8ecdbdcf67172 Mon Sep 17 00:00:00 2001 From: Daniel Krupp Date: Mon, 24 Nov 2025 19:40:15 +0100 Subject: [PATCH] Remove clang-diagnostics-default-const-init-var-unsafe from the default profile The warning is a portability checker (between C and C++) and hence should not be placed in the default profile. --- config/labels/analyzers/clang-tidy.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/labels/analyzers/clang-tidy.json b/config/labels/analyzers/clang-tidy.json index f37833b330..49c489599f 100644 --- a/config/labels/analyzers/clang-tidy.json +++ b/config/labels/analyzers/clang-tidy.json @@ -2178,8 +2178,7 @@ "severity:MEDIUM" ], "clang-diagnostic-default-const-init-var": [ - "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wdefault-const-init-var", - "profile:default", + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wdefault-const-init-var", "profile:extreme", "profile:sensitive", "severity:MEDIUM"