From cd83c9282cbd939243899bff108746166c2cce4d Mon Sep 17 00:00:00 2001 From: iphydf Date: Tue, 14 Dec 2021 19:33:18 +0000 Subject: [PATCH] chore: Add .cc files to the static analysis. --- other/analysis/gen-file.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/other/analysis/gen-file.sh b/other/analysis/gen-file.sh index 29b9aa38..11dc3f7d 100644 --- a/other/analysis/gen-file.sh +++ b/other/analysis/gen-file.sh @@ -44,9 +44,10 @@ callmain() { put auto_tests/check_compat.h -FIND_QUERY="find . '-(' -name '*.c' '-)'" +FIND_QUERY="find . '-(' -name '*.c' -or -name "*.cc" '-)'" FIND_QUERY="$FIND_QUERY -and -not -wholename './_build/*'" FIND_QUERY="$FIND_QUERY -and -not -wholename './super_donators/*'" +FIND_QUERY="$FIND_QUERY -and -not -name amalgamation.cc" FIND_QUERY="$FIND_QUERY -and -not -name av_test.c" FIND_QUERY="$FIND_QUERY -and -not -name dht_test.c" FIND_QUERY="$FIND_QUERY -and -not -name version_test.c"