[compiler-rt] b040e22 - [asan] Suppress lint warning in tests

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 03:28:35 PDT 2020


Author: Vitaly Buka
Date: 2020-06-10T03:28:27-07:00
New Revision: b040e226ed134834b5fc61135eb562de320f54a6

URL: https://github.com/llvm/llvm-project/commit/b040e226ed134834b5fc61135eb562de320f54a6
DIFF: https://github.com/llvm/llvm-project/commit/b040e226ed134834b5fc61135eb562de320f54a6.diff

LOG: [asan] Suppress lint warning in tests

Added: 
    

Modified: 
    compiler-rt/lib/sanitizer_common/scripts/check_lint.sh

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh b/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
index 4a2febab461f..630658113f6d 100755
--- a/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
+++ b/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
@@ -19,7 +19,7 @@ fi
 COMMON_LINT_FILTER=-build/include,-build/header_guard,-legal/copyright,-whitespace/comments,-readability/casting,\
 -build/namespaces,-build/c++11,-runtime/int
 
-COMMON_LIT_TEST_LINT_FILTER=-whitespace/indent,-whitespace/line_length,-runtime/arrays
+COMMON_LIT_TEST_LINT_FILTER=-whitespace/indent,-whitespace/line_length,-runtime/arrays,-readability/braces
 
 ASAN_RTL_LINT_FILTER=${COMMON_LINT_FILTER}
 ASAN_TEST_LINT_FILTER=${COMMON_LINT_FILTER},-runtime/printf,-runtime/threadsafe_fn


        


More information about the llvm-commits mailing list