From 51826a4f1397a7127a1043a191f84355f0feb034 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Fri, 2 Aug 2019 18:01:21 +0100 Subject: COMPMID-2336: Fix clang-tidy issues. Change-Id: Ib880f64eda124fb9f959be117e5c9c14ff9dd320 Signed-off-by: Georgios Pinitas Reviewed-on: https://review.mlplatform.org/c/1686 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio --- scripts/clang_tidy_rules.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/clang_tidy_rules.py b/scripts/clang_tidy_rules.py index a5d1cb5dac..7393df2708 100755 --- a/scripts/clang_tidy_rules.py +++ b/scripts/clang_tidy_rules.py @@ -4,7 +4,13 @@ import re import sys def get_list_includes(): - return "arm_compute/core/NEON/kernels/assembly arm_compute/core/NEON/kernels/convolution/common include/linux include . 3rdparty/include kernels".split() + return "arm_compute/core/NEON/kernels/assembly " \ + "arm_compute/core/NEON/kernels/convolution/common " \ + "arm_compute/core/NEON/kernels/convolution/depthwise " \ + "arm_compute/core/NEON/kernels/convolution/winograd " \ + "include/linux include " \ + ". " \ + "3rdparty/include kernels".split() def get_list_flags( filename, arch): assert arch in ["armv7", "aarch64"] @@ -43,7 +49,7 @@ def filter_clang_tidy_lines( lines ): continue if "error:" in line: - if (("Utils.cpp" in line and "'arm_compute_version.embed' file not found" in line) or + if (("Utils.cpp" in line and "arm_compute_version.embed" in line and "file not found" in line) or ("arm_fp16.h" in line) or ("omp.h" in line) or ("cast from pointer to smaller type 'uintptr_t' (aka 'unsigned int') loses information" in line) or -- cgit v1.2.1