From 606f209bf2853f98f2487ffcfcf95d102a98fb0a Mon Sep 17 00:00:00 2001 From: apink Date: Sun, 13 Sep 2020 06:16:35 +0300 Subject: [PATCH] add some platform-specific asan files to clang-tidy.ignore list some compiler-rt files contain architecture-specific assembly code or complex macroses which clang-tidy can't process properly. In case of assembly code: we can get "unknown register name 'a7' in asm" In sanitizer_common_syscalls.inc we have issuels like: "clang-tidy: error: unknown type name '__sanitizer_iovec'" --- scripts/clang-tidy.ignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/clang-tidy.ignore b/scripts/clang-tidy.ignore index c47805f..84d183e 100644 --- a/scripts/clang-tidy.ignore +++ b/scripts/clang-tidy.ignore @@ -32,6 +32,9 @@ llgo/test compiler-rt/test compiler-rt/test/builtins/Unit/ppc/test compiler-rt/test/builtins/Unit/test +compiler-rt/lib/sanitizer_common/sanitizer_syscall_linux_.*.inc +compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp +compiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc debuginfo-tests/dexter/dex/tools/test debuginfo-tests/dexter/feature_tests/subtools/test clang/test