diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-08-02 18:01:21 +0100 |
---|---|---|
committer | Michele Di Giorgio <michele.digiorgio@arm.com> | 2019-08-05 12:38:17 +0000 |
commit | 51826a4f1397a7127a1043a191f84355f0feb034 (patch) | |
tree | d81c4c5be425ac64475cd9b415c2500a22b9d269 /scripts/clang_tidy_rules.py | |
parent | b238f5f720be59c10b6caa633a481d0d9a3cc7a0 (diff) | |
download | ComputeLibrary-51826a4f1397a7127a1043a191f84355f0feb034.tar.gz |
COMPMID-2336: Fix clang-tidy issues.
Change-Id: Ib880f64eda124fb9f959be117e5c9c14ff9dd320
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1686
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'scripts/clang_tidy_rules.py')
-rwxr-xr-x | scripts/clang_tidy_rules.py | 10 |
1 files 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 |