From 918fa00a2512944bdd4c307dac909dd60071b0b2 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Sat, 11 Jan 2025 22:58:26 +0100 Subject: [PATCH] clang-tidy: error on Malloc check This cause clang-tidy to exit with error if we encounter the warning about a potential memory leak. --- .clang-tidy | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-tidy b/.clang-tidy index 193454805d7d..c503a6b4f0a1 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -17,6 +17,7 @@ Checks: " " WarningsAsErrors: " bugprone-unsafe-functions, + clang-analyzer-unix.Malloc, " HeaderFileExtensions: - ''