From 00fb6c9da0b8f9ed6b46f8c71a0f7c73bda177f2 Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Wed, 4 Mar 2015 21:38:10 +0000 Subject: [PATCH] Exclude LLVM sources from lint check. Checking files from different repository is not nice, and LLVM code follows its own style guide anyway. llvm-svn: 231289 --- compiler-rt/lib/sanitizer_common/scripts/check_lint.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh b/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh index 7ed05d7..9108a81 100755 --- a/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh +++ b/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh @@ -17,7 +17,6 @@ fi # Filters # TODO: remove some of these filters -LLVM_LINT_FILTER=-,+whitespace COMMON_LINT_FILTER=-build/include,-build/header_guard,-legal/copyright,-whitespace/comments,-readability/casting,\ -build/namespaces ASAN_RTL_LINT_FILTER=${COMMON_LINT_FILTER},-runtime/int @@ -60,9 +59,6 @@ run_lint() { ${LITLINT} "$@" 2>>$ERROR_LOG } -run_lint ${LLVM_LINT_FILTER} --filter=${LLVM_LINT_FILTER} \ - lib/Transforms/Instrumentation/*Sanitizer.cpp & - if [ "${COMPILER_RT}" = "" ]; then COMPILER_RT=projects/compiler-rt fi -- 2.7.4