aboutsummaryrefslogtreecommitdiff
path: root/scripts/clang_tidy_rules.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/clang_tidy_rules.py')
-rwxr-xr-xscripts/clang_tidy_rules.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/clang_tidy_rules.py b/scripts/clang_tidy_rules.py
index 1e24b042de..ddf25384f2 100755
--- a/scripts/clang_tidy_rules.py
+++ b/scripts/clang_tidy_rules.py
@@ -11,8 +11,7 @@ def get_list_includes():
"src/core/NEON/kernels/assembly " \
"src/core/NEON/kernels/convolution/winograd " \
"include/linux include " \
- ". " \
- "3rdparty/include kernels".split()
+ ". ".split()
def get_list_flags( filename, arch):
assert arch in ["armv7", "aarch64"]
@@ -64,7 +63,6 @@ def filter_clang_tidy_lines( lines ):
("Utils.h" in line and "no member named 'unmap' in 'arm_compute::Tensor'" in line) or
("Utils.h" in line and "no member named 'map' in 'arm_compute::Tensor'" in line) or
("CPUUtils.cpp" in line and "'asm/hwcap.h' file not found" in line) or
- "3rdparty" in line or
("'arm_compute_version.embed' file not found" in line) ):
print_context=False
continue
@@ -119,8 +117,7 @@ def filter_clang_tidy_lines( lines ):
("GCKernelLibrary.cpp" in line and "warning: do not declare C-style arrays" in line) or
("Utils.h" in line and "warning: Use of zero-allocated memory" in line) or
("NEDepthwiseConvolutionLayerNativeKernel.cpp" in line and "misc-non-private-member-variables-in-classes" in line) or # This is to prevent false positive, should be reassessed with the newer clang-tidy
- ("NEDepthwiseConvolutionLayerNativeKernel.cpp" in line and "cppcoreguidelines-pro-type-member-init" in line) or # This is to prevent false positive, should be reassessed with the newer clang-tidy
- "3rdparty" in line):
+ ("NEDepthwiseConvolutionLayerNativeKernel.cpp" in line and "cppcoreguidelines-pro-type-member-init" in line)): # This is to prevent false positive, should be reassessed with the newer clang-tidy
print_context=False
continue