From b9777062090f290c42bfdef48710473e4225099b Mon Sep 17 00:00:00 2001 From: Arseniy Obolenskiy Date: Sun, 18 May 2025 17:54:58 +0200 Subject: [PATCH] Enable 'bugprone-exception-escape' and 'misc-header-include-cycle' clang-tidy checks --- .clang-tidy | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index e7326a2f5..1d2bfe440 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -12,7 +12,6 @@ Checks: > readability-*, -bugprone-casting-through-void, -bugprone-easily-swappable-parameters, - -bugprone-exception-escape, -bugprone-implicit-widening-of-multiplication-result, -cppcoreguidelines-avoid-magic-numbers, -cppcoreguidelines-non-private-member-variables-in-classes, @@ -22,7 +21,6 @@ Checks: > -cppcoreguidelines-pro-type-vararg, -cppcoreguidelines-special-member-functions, -misc-const-correctness, - -misc-header-include-cycle, -misc-non-private-member-variables-in-classes, -modernize-avoid-c-arrays, -modernize-loop-convert, @@ -88,4 +86,4 @@ CheckOptions: - key: readability-identifier-length.MinimumParameterNameLength value: 1 - key: misc-include-cleaner.IgnoreHeaders - value: '(opencv2/.*|__chrono/.*)' + value: '(__chrono/.*)'