summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/scripts
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-03-04 21:38:10 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-03-04 21:38:10 +0000
commit7bee9be31cc1da5b2e5330fdb0fd7f05565f9966 (patch)
tree0396c77f19da326db771d7c4c78c5c337889e140 /lib/sanitizer_common/scripts
parentb9c1633f7afe3b4b76c67bde2442316b3ee0e9ec (diff)
Exclude LLVM sources from lint check.
Checking files from different repository is not nice, and LLVM code follows its own style guide anyway. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@231289 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/scripts')
-rwxr-xr-xlib/sanitizer_common/scripts/check_lint.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/sanitizer_common/scripts/check_lint.sh b/lib/sanitizer_common/scripts/check_lint.sh
index 7ed05d735..9108a81e2 100755
--- a/lib/sanitizer_common/scripts/check_lint.sh
+++ b/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