From 1d0871bb94ce74aad77e434c214018aededb5609 Mon Sep 17 00:00:00 2001 From: Matt Liberty Date: Sun, 5 Jan 2025 05:07:28 +0000 Subject: [PATCH] Exclude build/... from clang-tidy Too much noise from swig generated files. There might be issues in code from the .i but it isn't worth the trouble as there is no way to separate it. Signed-off-by: Matt Liberty --- .clang-tidy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index 3a52baf7bd7..4dd1f42305e 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -64,7 +64,8 @@ CheckOptions: value: _t # All modules but sta -HeaderFilterRegex: ".*/(ant|cts|dbSta|dft|dpl|dpo|drt|dst|fin|gpl|grt|gui|ifp|mpl|mpl2|odb|ord|pad|par|pdn|ppl|psm|rcx|rmp|rsz|stt|tap|upf|utl)/.*" +# Exclude build as there is too much noise from swig generated code +HeaderFilterRegex: "(?!build/.*)/(ant|cts|dbSta|dft|dpl|dpo|drt|dst|fin|gpl|grt|gui|ifp|mpl|mpl2|odb|ord|pad|par|pdn|ppl|psm|rcx|rmp|rsz|stt|tap|upf|utl)/.*" # Not currently handling identifier naming # WarningsAsErrors: "*"